diff options
Diffstat (limited to 'src/types/Date.d.ts')
| -rw-r--r-- | src/types/Date.d.ts | 37 |
1 files changed, 32 insertions, 5 deletions
diff --git a/src/types/Date.d.ts b/src/types/Date.d.ts index 5e1df66..e13ea08 100644 --- a/src/types/Date.d.ts +++ b/src/types/Date.d.ts @@ -1,10 +1,37 @@ type Year = `${19 | 20}${Digit}${Digit}`; type Month = '01' | '02' | '03' | '04' | '05' | '06' | '07' | '08' | '09' | '10' | '11' | '12'; type Day = - '01' | '02' | '03' | '04' | '05' | '06' | '07' | '08' | '09' | - '10' | '11' | '12' | '13' | '14' | '15' | '16' | '17' | '18' | '19' | - '20' | '21' | '22' | '23' | '24' | '25' | '26' | '27' | '28' | '29' | - '30' | '31'; + | '01' + | '02' + | '03' + | '04' + | '05' + | '06' + | '07' + | '08' + | '09' + | '10' + | '11' + | '12' + | '13' + | '14' + | '15' + | '16' + | '17' + | '18' + | '19' + | '20' + | '21' + | '22' + | '23' + | '24' + | '25' + | '26' + | '27' + | '28' + | '29' + | '30' + | '31'; type Date = `${Year}-${Month}-${Day}`; -export default Date;
\ No newline at end of file +export default Date; |
