mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
fix twix tests
This commit is contained in:
+3
-1
@@ -1,4 +1,6 @@
|
||||
var someMoment = moment("20111031", "YYYYMMDD");
|
||||
/// <reference path="twix.d.ts" />
|
||||
|
||||
var someMoment = moment("20111031", "YYYYMMDD");
|
||||
var otherMoment = moment("20120620", "YYYYMMDD");
|
||||
var startTime = moment('20120701');
|
||||
var endTime = moment('20120801');
|
||||
|
||||
Vendored
+2
-2
@@ -65,7 +65,7 @@ declare module moment {
|
||||
|
||||
interface TwixSimpleFormatOptions {
|
||||
allDay?: string;
|
||||
template?: (left, right) => any;
|
||||
template?: (left: any, right: any) => any;
|
||||
}
|
||||
|
||||
interface TwixIter {
|
||||
@@ -123,7 +123,7 @@ declare module moment {
|
||||
}
|
||||
|
||||
interface TwixStatic {
|
||||
formatTemplate?: (left, right) => any;
|
||||
formatTemplate?: (left: any, right: any) => any;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user