diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-03-26 18:52:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-26 18:52:57 -0400 |
commit | ac4a5f74b8e56a360e0a0543a6fc45099e13b95a (patch) | |
tree | 463796fb830eae41fc039512bb1ce79919195735 /cli/tsc/dts/lib.es2021.intl.d.ts | |
parent | 6b95c53e48a2622f4f2b6fdfa6c2c26dc30bbba4 (diff) |
feat: TypeScript 5.4 (#23086)
Fork PR: https://github.com/denoland/TypeScript/pull/10
Closes #23080
Diffstat (limited to 'cli/tsc/dts/lib.es2021.intl.d.ts')
-rw-r--r-- | cli/tsc/dts/lib.es2021.intl.d.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tsc/dts/lib.es2021.intl.d.ts b/cli/tsc/dts/lib.es2021.intl.d.ts index b464d55d6..ec90ad1b2 100644 --- a/cli/tsc/dts/lib.es2021.intl.d.ts +++ b/cli/tsc/dts/lib.es2021.intl.d.ts @@ -143,7 +143,7 @@ declare namespace Intl { * * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat). */ - new (locales?: BCP47LanguageTag | BCP47LanguageTag[], options?: ListFormatOptions): ListFormat; + new (locales?: LocalesArgument, options?: ListFormatOptions): ListFormat; /** * Returns an array containing those of the provided locales that are @@ -161,6 +161,6 @@ declare namespace Intl { * * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/supportedLocalesOf). */ - supportedLocalesOf(locales: BCP47LanguageTag | BCP47LanguageTag[], options?: Pick<ListFormatOptions, "localeMatcher">): BCP47LanguageTag[]; + supportedLocalesOf(locales: LocalesArgument, options?: Pick<ListFormatOptions, "localeMatcher">): UnicodeBCP47LocaleIdentifier[]; }; } |