summaryrefslogtreecommitdiff
path: root/src/types/Date.d.ts
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-12 15:49:03 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-12 15:49:03 +0100
commit37020d847e66e57913d493716e98f4dcab749262 (patch)
treea6bfa0c49bcec61ff91465f323142db43511a122 /src/types/Date.d.ts
parent18b85566df437ac932f59e94cbec771a4a331927 (diff)
Applies Prettier
Diffstat (limited to 'src/types/Date.d.ts')
-rw-r--r--src/types/Date.d.ts37
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;