SyntaxFix
Write A Post
Hire A Developer
Questions
The answer is super simple, the type is Date:
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 :)