getVarDate should be on the Date interface

This commit is contained in:
Zev Spitz
2016-06-29 02:16:18 +03:00
committed by GitHub
parent 29107e636b
commit 27e66b0bc8

View File

@@ -284,5 +284,8 @@ interface VarDate { }
interface DateConstructor {
new (vd: VarDate): Date;
}
interface Date {
getVarDate: () => VarDate;
}
}