I'd like to declare a class called Date which has a property of type Date (as in the TypeScript interface to the JavaScript Date object. However the compiler assumes my property is of the same type as the class I'm declaring. How can I distinguish between the two?
If the Date interface were in a module I could just use the module name to distinguish, however it seems to be in a global namespace. My Date class is inside a module.