From fe3e117cb2625f06d1c60cf2a9682a846d697a30 Mon Sep 17 00:00:00 2001 From: Mohammad Aziz Date: Fri, 12 Nov 2021 16:42:21 +0530 Subject: [PATCH] fix(46712): Add "exceptZero" for "signDisplay" option of Intl.NumberFormat() (#46740) --- 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 f351ee3c0ce..f0938eca850 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"; }