From 3b95404f59e721da0eb106ecf150feeffe801baa Mon Sep 17 00:00:00 2001 From: swandir Date: Wed, 16 Feb 2022 02:26:25 +0300 Subject: [PATCH] Make Intl.Locale baseName and language properties required (#47720) --- src/lib/es2020.intl.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/es2020.intl.d.ts b/src/lib/es2020.intl.d.ts index 2ab4531283a..d340813d0c5 100644 --- a/src/lib/es2020.intl.d.ts +++ b/src/lib/es2020.intl.d.ts @@ -254,6 +254,10 @@ declare namespace Intl { } interface Locale extends LocaleOptions { + /** A string containing the language, and the script and region if available. */ + baseName: string; + /** The primary language subtag associated with the locale. */ + language: string; /** Gets the most likely values for the language, script, and region of the locale based on existing values. */ maximize(): Locale; /** Attempts to remove information about the locale that would be added by calling `Locale.maximize()`. */