2022-10-17 21:20:52 +00:00
|
|
|
/**
|
|
|
|
* Returns a date as a string value in ISO format.
|
|
|
|
* same format as `new Date().toISOString()`
|
|
|
|
*/
|
2022-10-18 12:41:41 +00:00
|
|
|
export type DateISO<T extends string = string> = T
|
2022-10-17 21:20:52 +00:00
|
|
|
|
|
|
|
new Date().toISOString()
|