From ccdb43c7128bd203d3cdde61141b0d16d5b96ebf Mon Sep 17 00:00:00 2001 From: dardino Date: Fri, 28 Nov 2014 15:43:48 +0100 Subject: [PATCH] Update datejs.d.ts Statics must extends IDateJS not Date --- datejs/datejs.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datejs/datejs.d.ts b/datejs/datejs.d.ts index 6c510def6b..5c4034bc59 100644 --- a/datejs/datejs.d.ts +++ b/datejs/datejs.d.ts @@ -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. */