/
githubmirror
/
TypeScript
Обзор
Документация
Войти
/
githubmirror
/
TypeScript
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/lib/es2016.intl.d.ts
13 строк
644 B
Kenta Moriuchi
Introduce ES2024 target and fix some types (#58573)
27 сен 2024, 21:58
Не верифицирован
27 сен 2024, 21:58
9d98874
Код
Авторство
О чём код?
declare namespace Intl { /** * The `Intl.getCanonicalLocales()` method returns an array containing * the canonical locale names. Duplicates will be omitted and elements * will be validated as structurally valid language tags. * * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/getCanonicalLocales) * * @param locale A list of String values for which to get the canonical locale names * @returns An array containing the canonical and validated locale names. */ function getCanonicalLocales(locale?: string | readonly string[]): string[]; }