mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
fix(46845): Add missing "locale" field to Intl.DisplayNamesOptions (#46849)
Closes https://github.com/microsoft/TypeScript/issues/46845
This commit is contained in:
Vendored
+1
@@ -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