From 9a75d2acc8f7175d1ada327a0e457f7ea1ea1c46 Mon Sep 17 00:00:00 2001 From: gfyoung Date: Mon, 3 Jan 2022 12:10:20 -0800 Subject: [PATCH] fix(46845): Add missing "locale" field to Intl.DisplayNamesOptions (#46849) Closes https://github.com/microsoft/TypeScript/issues/46845 --- src/lib/es2020.intl.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/es2020.intl.d.ts b/src/lib/es2020.intl.d.ts index 67decfeae45..92e353b913f 100644 --- a/src/lib/es2020.intl.d.ts +++ b/src/lib/es2020.intl.d.ts @@ -277,6 +277,7 @@ declare namespace Intl { }; interface DisplayNamesOptions { + locale: UnicodeBCP47LocaleIdentifier; localeMatcher: RelativeTimeFormatLocaleMatcher; style: RelativeTimeFormatStyle; type: "language" | "region" | "script" | "currency";