mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
getVarDate should be on the Date interface
This commit is contained in:
Vendored
+4
-1
@@ -284,5 +284,8 @@ interface VarDate { }
|
||||
|
||||
interface DateConstructor {
|
||||
new (vd: VarDate): Date;
|
||||
}
|
||||
|
||||
interface Date {
|
||||
getVarDate: () => VarDate;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user