Merge pull request #10874 from cscleison/gotodate-fix

added moment type for goToDate
This commit is contained in:
Horiuchi_H
2016-08-30 23:51:42 +09:00
committed by GitHub
+2 -2
View File
@@ -318,7 +318,7 @@ interface JQuery {
/**
* Moves the calendar to an arbitrary date.
*/
fullCalendar(method: 'gotoDate', date: Date | string): void;
fullCalendar(method: 'gotoDate', date: moment.Moment | Date | string): void;
/**
* Moves the calendar forward/backward an arbitrary amount of time.
@@ -403,4 +403,4 @@ interface JQuery {
interface JQueryStatic {
fullCalendar: FullCalendar.Calendar;
}
}