summaryrefslogtreecommitdiff
path: root/cli/tsc/dts/lib.es2022.intl.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tsc/dts/lib.es2022.intl.d.ts')
-rw-r--r--cli/tsc/dts/lib.es2022.intl.d.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tsc/dts/lib.es2022.intl.d.ts b/cli/tsc/dts/lib.es2022.intl.d.ts
index c41f999f1..6a2ba0787 100644
--- a/cli/tsc/dts/lib.es2022.intl.d.ts
+++ b/cli/tsc/dts/lib.es2022.intl.d.ts
@@ -89,7 +89,7 @@ declare namespace Intl {
*
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter).
*/
- new (locales?: BCP47LanguageTag | BCP47LanguageTag[], options?: SegmenterOptions): Segmenter;
+ new (locales?: LocalesArgument, options?: SegmenterOptions): Segmenter;
/**
* Returns an array containing those of the provided locales that are supported without having to fall back to the runtime's default locale.
@@ -103,7 +103,7 @@ declare namespace Intl {
*
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/supportedLocalesOf)
*/
- supportedLocalesOf(locales: BCP47LanguageTag | BCP47LanguageTag[], options?: Pick<SegmenterOptions, "localeMatcher">): BCP47LanguageTag[];
+ supportedLocalesOf(locales: LocalesArgument, options?: Pick<SegmenterOptions, "localeMatcher">): UnicodeBCP47LocaleIdentifier[];
};
/**