Skip to content

Commit 3b95404

Browse files
authored
Make Intl.Locale baseName and language properties required (#47720)
1 parent 81d1457 commit 3b95404

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib/es2020.intl.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,10 @@ declare namespace Intl {
254254
}
255255

256256
interface Locale extends LocaleOptions {
257+
/** A string containing the language, and the script and region if available. */
258+
baseName: string;
259+
/** The primary language subtag associated with the locale. */
260+
language: string;
257261
/** Gets the most likely values for the language, script, and region of the locale based on existing values. */
258262
maximize(): Locale;
259263
/** Attempts to remove information about the locale that would be added by calling `Locale.maximize()`. */

0 commit comments

Comments
 (0)