fix(46712): Add "exceptZero" for "signDisplay" option of Intl.NumberFormat() (#46740)
This commit is contained in:
parent
1298f498f4
commit
fe3e117cb2
4
src/lib/es2020.intl.d.ts
vendored
4
src/lib/es2020.intl.d.ts
vendored
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue