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.
Digit
NonZeroDigit
1 parent 29503da commit 87b4fb1Copy full SHA for 87b4fb1
src/types.ts
@@ -39,9 +39,9 @@ export interface FormatQuantity {
39
}
40
41
/** Any numeric character. */
42
-type Digit = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';
+export type Digit = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';
43
/** Any numeric character except '0'. */
44
-type NonZeroDigit = Exclude<Digit, '0'>;
+export type NonZeroDigit = Exclude<Digit, '0'>;
45
46
/**
47
* Fraction string with either one or two numeric characters in both the
0 commit comments