mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-11 16:38:46 -05:00
fix(46845): Add missing "locale" field to Intl.DisplayNamesOptions (#46849)
Closes https://github.com/microsoft/TypeScript/issues/46845
This commit is contained in:
1
src/lib/es2020.intl.d.ts
vendored
1
src/lib/es2020.intl.d.ts
vendored
@@ -277,6 +277,7 @@ declare namespace Intl {
|
||||
};
|
||||
|
||||
interface DisplayNamesOptions {
|
||||
locale: UnicodeBCP47LocaleIdentifier;
|
||||
localeMatcher: RelativeTimeFormatLocaleMatcher;
|
||||
style: RelativeTimeFormatStyle;
|
||||
type: "language" | "region" | "script" | "currency";
|
||||
|
||||
Reference in New Issue
Block a user