From df87aa3b80ff648711fdadb286333f992477eca9 Mon Sep 17 00:00:00 2001 From: "quisi.do" Date: Fri, 9 Jan 2026 16:39:10 -0800 Subject: [PATCH 1/2] add `collation` to `Intl.CollatorOptions` --- src/lib/es5.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/es5.d.ts b/src/lib/es5.d.ts index 3ca96f12760be..2609718566789 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?: "big5han" | "compat" | "default" | "dict" | "direct" | "ducet" | "emoji" | "eor" | "gb2312" | "phonebk" | "phonetic" | "pinyin" | "reformed" | "searchjl" | "stroke" | "trad" | "unihan" | "zhuyin" | undefined; ignorePunctuation?: boolean | undefined; } @@ -4581,3 +4581,4 @@ interface Date { */ toLocaleTimeString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string; } + From 5778776a9df7f3eba66f26476715bc9cc31cddb5 Mon Sep 17 00:00:00 2001 From: "quisi.do" Date: Fri, 9 Jan 2026 16:42:48 -0800 Subject: [PATCH 2/2] amend whitespace added by GitHub inline editor --- src/lib/es5.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/es5.d.ts b/src/lib/es5.d.ts index 2609718566789..c5e02c71c1cf2 100644 --- a/src/lib/es5.d.ts +++ b/src/lib/es5.d.ts @@ -4581,4 +4581,3 @@ interface Date { */ toLocaleTimeString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string; } -