mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
Update datejs.d.ts
Statics must extends IDateJS not Date
This commit is contained in:
Vendored
+1
-1
@@ -15,7 +15,7 @@ interface IDateJSLiteral {
|
||||
}
|
||||
|
||||
/** DateJS Public Static Methods */
|
||||
interface IDateJSStatic extends Date {
|
||||
interface IDateJSStatic extends IDateJS {
|
||||
/** Gets a date that is set to the current date. The time is set to the start of the day (00:00 or 12:00 AM) */
|
||||
today(): IDateJS;
|
||||
/** Compares the first date to the second date and returns an number indication of their relative values. -1 = this is lessthan date. 0 = values are equal. 1 = this is greaterthan date. */
|
||||
|
||||
Reference in New Issue
Block a user