diff --git a/src/lib/es5.d.ts b/src/lib/es5.d.ts index 3ca96f12760be..f05ca3936ed32 100644 --- a/src/lib/es5.d.ts +++ b/src/lib/es5.d.ts @@ -4404,7 +4404,7 @@ declare namespace Intl { numeric?: boolean | undefined; caseFirst?: "upper" | "lower" | "false" | undefined; sensitivity?: "base" | "accent" | "case" | "variant" | undefined; - collation?: "big5han" | "compat" | "dict" | "direct" | "ducet" | "emoji" | "eor" | "gb2312" | "phonebk" | "phonetic" | "pinyin" | "reformed" | "searchjl" | "stroke" | "trad" | "unihan" | "zhuyin" | undefined; + collation?: "default" | "big5han" | "compat" | "dict" | "direct" | "ducet" | "emoji" | "eor" | "gb2312" | "phonebk" | "phonetic" | "pinyin" | "reformed" | "searchjl" | "stroke" | "trad" | "unihan" | "zhuyin" | undefined; ignorePunctuation?: boolean | undefined; } diff --git a/tests/cases/conformance/es2020/localesObjectArgument.ts b/tests/cases/conformance/es2020/localesObjectArgument.ts index 71e63ff14143e..0a11b208aca9b 100644 --- a/tests/cases/conformance/es2020/localesObjectArgument.ts +++ b/tests/cases/conformance/es2020/localesObjectArgument.ts @@ -50,6 +50,8 @@ new Intl.Collator([deDE, jaJP]); new Intl.Collator(readonlyLocales); Intl.Collator.supportedLocalesOf(enUS); Intl.Collator.supportedLocalesOf([deDE, jaJP]); +new Intl.Collator(enUS, { collation: "default" }); + new Intl.DateTimeFormat(enUS); new Intl.DateTimeFormat([deDE, jaJP]);