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.ts9
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[];
}