From 81d251fb301eeafd82624a1e6d2291546094f5f7 Mon Sep 17 00:00:00 2001 From: Mohammad Aziz Date: Tue, 9 Nov 2021 08:35:04 +0530 Subject: [PATCH] fix(46712): Add "exceptZero" for "signDisplay" option of Intl.NumberFormat() --- src/lib/es2020.intl.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/es2020.intl.d.ts b/src/lib/es2020.intl.d.ts index f351ee3c0cee6..f0938eca850f9 100644 --- a/src/lib/es2020.intl.d.ts +++ b/src/lib/es2020.intl.d.ts @@ -200,7 +200,7 @@ declare namespace Intl { interface NumberFormatOptions { compactDisplay?: "short" | "long" | undefined; notation?: "standard" | "scientific" | "engineering" | "compact" | undefined; - signDisplay?: "auto" | "never" | "always" | undefined; + signDisplay?: "auto" | "never" | "always" | "exceptZero" | undefined; unit?: string | undefined; unitDisplay?: "short" | "long" | "narrow" | undefined; } @@ -208,7 +208,7 @@ declare namespace Intl { interface ResolvedNumberFormatOptions { compactDisplay?: "short" | "long"; notation?: "standard" | "scientific" | "engineering" | "compact"; - signDisplay?: "auto" | "never" | "always"; + signDisplay?: "auto" | "never" | "always" | "exceptZero"; unit?: string; unitDisplay?: "short" | "long" | "narrow"; }