types date typescript
const date: Date = new Date();
typescript datetimte
const d: Date = new Date(); // but the type can also be inferred from "new Date()" already
Source: stackoverflow.com
const date: Date = new Date();
const d: Date = new Date(); // but the type can also be inferred from "new Date()" already