mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-12-12 11:50:54 -06:00
Add support for NumberFormatOptions notation
This commit is contained in:
parent
a46e9aea10
commit
b9aee84d3e
2
src/lib/es5.d.ts
vendored
2
src/lib/es5.d.ts
vendored
@ -4251,6 +4251,7 @@ declare namespace Intl {
|
||||
maximumFractionDigits?: number;
|
||||
minimumSignificantDigits?: number;
|
||||
maximumSignificantDigits?: number;
|
||||
notation?: string;
|
||||
}
|
||||
|
||||
interface ResolvedNumberFormatOptions {
|
||||
@ -4265,6 +4266,7 @@ declare namespace Intl {
|
||||
minimumSignificantDigits?: number;
|
||||
maximumSignificantDigits?: number;
|
||||
useGrouping: boolean;
|
||||
notation?: string;
|
||||
}
|
||||
|
||||
interface NumberFormat {
|
||||
|
||||
2
tests/lib/lib.d.ts
vendored
2
tests/lib/lib.d.ts
vendored
@ -3898,6 +3898,7 @@ declare module Intl {
|
||||
maximumFractionDigits?: number;
|
||||
minimumSignificantDigits?: number;
|
||||
maximumSignificantDigits?: number;
|
||||
notation?: string;
|
||||
}
|
||||
|
||||
interface ResolvedNumberFormatOptions {
|
||||
@ -3912,6 +3913,7 @@ declare module Intl {
|
||||
minimumSignificantDigits?: number;
|
||||
maximumSignificantDigits?: number;
|
||||
useGrouping: boolean;
|
||||
notation?: string;
|
||||
}
|
||||
|
||||
interface NumberFormat {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user