chore: clean up
This commit is contained in:

committed by
kolaente

parent
eaf777864a
commit
2acb70c562
7
src/types/DateISO.ts
Normal file
7
src/types/DateISO.ts
Normal file
@ -0,0 +1,7 @@
|
||||
/**
|
||||
* Returns a date as a string value in ISO format.
|
||||
* same format as `new Date().toISOString()`
|
||||
*/
|
||||
export type DateISO = string
|
||||
|
||||
new Date().toISOString()
|
4
src/types/DateKebab.ts
Normal file
4
src/types/DateKebab.ts
Normal file
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* Date in Format 2022-12-10
|
||||
*/
|
||||
export type DateKebab = `${string}-${string}-${string}`
|
Reference in New Issue
Block a user