/
githubmirror
/
TypeScript
Обзор
Документация
Войти
/
githubmirror
/
TypeScript
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/lib/es2019.string.d.ts
19 строк
694 B
Kenta Moriuchi
Update lib types to mark Annex B as deprecated (#43710)
30 авг 2021, 20:38
Не верифицирован
30 авг 2021, 20:38
d699bcd
Код
Авторство
О чём код?
interface String { /** Removes the trailing white space and line terminator characters from a string. */ trimEnd(): string; /** Removes the leading white space and line terminator characters from a string. */ trimStart(): string; /** * Removes the leading white space and line terminator characters from a string. * @deprecated A legacy feature for browser compatibility. Use `trimStart` instead */ trimLeft(): string; /** * Removes the trailing white space and line terminator characters from a string. * @deprecated A legacy feature for browser compatibility. Use `trimEnd` instead */ trimRight(): string; }