Skip to content

Commit fe3e117

Browse files
authored
fix(46712): Add "exceptZero" for "signDisplay" option of Intl.NumberFormat() (#46740)
1 parent 1298f49 commit fe3e117

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/es2020.intl.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -200,15 +200,15 @@ declare namespace Intl {
200200
interface NumberFormatOptions {
201201
compactDisplay?: "short" | "long" | undefined;
202202
notation?: "standard" | "scientific" | "engineering" | "compact" | undefined;
203-
signDisplay?: "auto" | "never" | "always" | undefined;
203+
signDisplay?: "auto" | "never" | "always" | "exceptZero" | undefined;
204204
unit?: string | undefined;
205205
unitDisplay?: "short" | "long" | "narrow" | undefined;
206206
}
207207

208208
interface ResolvedNumberFormatOptions {
209209
compactDisplay?: "short" | "long";
210210
notation?: "standard" | "scientific" | "engineering" | "compact";
211-
signDisplay?: "auto" | "never" | "always";
211+
signDisplay?: "auto" | "never" | "always" | "exceptZero";
212212
unit?: string;
213213
unitDisplay?: "short" | "long" | "narrow";
214214
}

0 commit comments

Comments
 (0)