From 7a7e0748e3ad6d178f5a351bbb5c8ed896f7f833 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 3 Jul 2023 18:36:35 -0400 Subject: feat: upgrade to TypeScript 5.1.6 (#19695) Integrates https://github.com/denoland/TypeScript/pull/7 --- cli/tsc/dts/lib.es2022.intl.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'cli/tsc/dts/lib.es2022.intl.d.ts') 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): 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[]; } -- cgit v1.2.3