From 089ac677a22fed3d043723bfb69b668ae49e9bcc Mon Sep 17 00:00:00 2001 From: gfyoung Date: Thu, 18 Nov 2021 07:03:47 +0000 Subject: [PATCH] fix(46845): Add missing "locale" field to Intl.DisplayNamesOptions 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 f0938eca850f9..16f1a46750f4e 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";