Typescript Date Type?

The type is Date:

const d: Date = new Date(); // but the type can also be inferred from "new Date()" already

It is the same as with every other object instance 🙂

Leave a Comment