We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b84512 commit 2eecb3dCopy full SHA for 2eecb3d
src/lib/es2018.intl.d.ts
@@ -40,9 +40,10 @@ declare namespace Intl {
40
// We can only have one definition for 'type' in TypeScript, and so you can learn where the keys come from here:
41
type ES2018NumberFormatPartType = "literal" | "nan" | "infinity" | "percent" | "integer" | "group" | "decimal" | "fraction" | "plusSign" | "minusSign" | "percentSign" | "currency" | "code" | "symbol" | "name";
42
type ES2020NumberFormatPartType = "compact" | "exponentInteger" | "exponentMinusSign" | "exponentSeparator" | "unit" | "unknown";
43
+ type NumberFormatPartType = ES2018NumberFormatPartType | ES2020NumberFormatPartType;
44
45
interface NumberFormatPart {
- type: ES2018NumberFormatPartType | ES2020NumberFormatPartType;
46
+ type: NumberFormatPartType;
47
value: string;
48
}
49
0 commit comments