Skip to content

Commit 9a75d2a

Browse files
authored
fix(46845): Add missing "locale" field to Intl.DisplayNamesOptions (#46849)
Closes #46845
1 parent db9e007 commit 9a75d2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/es2020.intl.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ declare namespace Intl {
277277
};
278278

279279
interface DisplayNamesOptions {
280+
locale: UnicodeBCP47LocaleIdentifier;
280281
localeMatcher: RelativeTimeFormatLocaleMatcher;
281282
style: RelativeTimeFormatStyle;
282283
type: "language" | "region" | "script" | "currency";

0 commit comments

Comments
 (0)