SyntaxFix
Write A Post
Hire A Developer
Questions
Typescript recognizes the Date interface out of the box - just like you would with a number, string, or custom type. So Just use:
myDate : Date;