mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-04 19:42:46 +08:00
Change dataOrRange to optional param
This commit is contained in:
2
types/fullcalendar/index.d.ts
vendored
2
types/fullcalendar/index.d.ts
vendored
@@ -995,7 +995,7 @@ declare global {
|
||||
/**
|
||||
* Immediately switches to a different view.
|
||||
*/
|
||||
fullCalendar(method: 'changeView', viewName: string, dateOrRange: moment.Moment | Date | string | TimeRange): void;
|
||||
fullCalendar(method: 'changeView', viewName: string, dateOrRange?: moment.Moment | Date | string | TimeRange): void;
|
||||
|
||||
/**
|
||||
* Moves the calendar one step back (either by a month, week, or day).
|
||||
|
||||
Reference in New Issue
Block a user