/
githubmirror
/
TypeScript
Обзор
Документация
Войти
/
githubmirror
/
TypeScript
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/lib/es2024.string.d.ts
11 строк
352 B
Kenta Moriuchi
Introduce ES2024 target and fix some types (#58573)
27 сен 2024, 21:58
Не верифицирован
27 сен 2024, 21:58
9d98874
Код
Авторство
О чём код?
interface String { /** * Returns true if all leading surrogates and trailing surrogates appear paired and in order. */ isWellFormed(): boolean; /** * Returns a string where all lone or out-of-order surrogates have been replaced by the Unicode replacement character (U+FFFD). */ toWellFormed(): string; }