This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
frontend/src/types/DateISO.ts

7 lines
180 B
TypeScript
Raw Permalink Normal View History

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