[Typescript] Construct Signatures
Construct signatures are similar to call signatures, except they describe what should happen with the new
keyword.
interface DateConstructor {
new (value: number): Date
}
let MyDateConstructor: DateConstructor = Date
const d = new MyDateConstructor()