fix(46845): Add missing "locale" field to Intl.DisplayNamesOptions (#46849)

Closes https://github.com/microsoft/TypeScript/issues/46845
This commit is contained in:
gfyoung authored and GitHub committed 2022-01-03 20:10:20 +00:00
1 parent db9e007900
commit 9a75d2acc8
1 file changed
+1
+1
View File
@@ -277,6 +277,7 @@ declare namespace Intl {
};
interface DisplayNamesOptions {
locale: UnicodeBCP47LocaleIdentifier;
localeMatcher: RelativeTimeFormatLocaleMatcher;
style: RelativeTimeFormatStyle;
type: "language" | "region" | "script" | "currency";