File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,10 @@ declare namespace Intl {
40
40
// We can only have one definition for 'type' in TypeScript, and so you can learn where the keys come from here:
41
41
type ES2018NumberFormatPartType = "literal" | "nan" | "infinity" | "percent" | "integer" | "group" | "decimal" | "fraction" | "plusSign" | "minusSign" | "percentSign" | "currency" | "code" | "symbol" | "name" ;
42
42
type ES2020NumberFormatPartType = "compact" | "exponentInteger" | "exponentMinusSign" | "exponentSeparator" | "unit" | "unknown" ;
43
- type NumberFormatPartType = ES2018NumberFormatPartType | ES2020NumberFormatPartType ;
43
+ type NumberFormatPartTypes = ES2018NumberFormatPartType | ES2020NumberFormatPartType ;
44
44
45
45
interface NumberFormatPart {
46
- type : NumberFormatPartType ;
46
+ type : NumberFormatPartTypes ;
47
47
value : string ;
48
48
}
49
49
You can’t perform that action at this time.
0 commit comments