mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-11 19:27:35 -06:00
fix(46845): Add missing "locale" field to Intl.DisplayNamesOptions (#46849)
Closes https://github.com/microsoft/TypeScript/issues/46845
This commit is contained in:
parent
db9e007900
commit
9a75d2acc8
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";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user