diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-07-03 18:36:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-04 00:36:35 +0200 |
commit | 7a7e0748e3ad6d178f5a351bbb5c8ed896f7f833 (patch) | |
tree | de77ac9b14bbec979b6fba456901f99de56fa5d3 /cli/tsc/dts/lib.es2022.intl.d.ts | |
parent | 208e65d33a6eed09404ecb0bc6858ce95c754f81 (diff) |
feat: upgrade to TypeScript 5.1.6 (#19695)
Integrates https://github.com/denoland/TypeScript/pull/7
Diffstat (limited to 'cli/tsc/dts/lib.es2022.intl.d.ts')
-rw-r--r-- | cli/tsc/dts/lib.es2022.intl.d.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cli/tsc/dts/lib.es2022.intl.d.ts b/cli/tsc/dts/lib.es2022.intl.d.ts index 96200eff9..18423719f 100644 --- a/cli/tsc/dts/lib.es2022.intl.d.ts +++ b/cli/tsc/dts/lib.es2022.intl.d.ts @@ -106,4 +106,13 @@ declare namespace Intl { */ supportedLocalesOf(locales: BCP47LanguageTag | BCP47LanguageTag[], options?: Pick<SegmenterOptions, "localeMatcher">): BCP47LanguageTag[]; }; + + /** + * Returns a sorted array of the supported collation, calendar, currency, numbering system, timezones, and units by the implementation. + * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/supportedValuesOf) + * + * @param key A string indicating the category of values to return. + * @returns A sorted array of the supported values. + */ + function supportedValuesOf(key: "calendar" | "collation" | "currency" | "numberingSystem" | "timeZone" | "unit"): string[]; } |