Skip to content

Commit b9aee84

Browse files
committed
Add support for NumberFormatOptions notation
1 parent a46e9ae commit b9aee84

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/lib/es5.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4251,6 +4251,7 @@ declare namespace Intl {
42514251
maximumFractionDigits?: number;
42524252
minimumSignificantDigits?: number;
42534253
maximumSignificantDigits?: number;
4254+
notation?: string;
42544255
}
42554256

42564257
interface ResolvedNumberFormatOptions {
@@ -4265,6 +4266,7 @@ declare namespace Intl {
42654266
minimumSignificantDigits?: number;
42664267
maximumSignificantDigits?: number;
42674268
useGrouping: boolean;
4269+
notation?: string;
42684270
}
42694271

42704272
interface NumberFormat {

tests/lib/lib.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3898,6 +3898,7 @@ declare module Intl {
38983898
maximumFractionDigits?: number;
38993899
minimumSignificantDigits?: number;
39003900
maximumSignificantDigits?: number;
3901+
notation?: string;
39013902
}
39023903

39033904
interface ResolvedNumberFormatOptions {
@@ -3912,6 +3913,7 @@ declare module Intl {
39123913
minimumSignificantDigits?: number;
39133914
maximumSignificantDigits?: number;
39143915
useGrouping: boolean;
3916+
notation?: string;
39153917
}
39163918

39173919
interface NumberFormat {

0 commit comments

Comments
 (0)