mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
parameters for updateView must be optional (#15457)
the function updateView can be called without parameters according to docs: https://docs.dhtmlx.com/scheduler/api__scheduler_updateview.html
This commit is contained in:
5
types/dhtmlxscheduler/index.d.ts
vendored
5
types/dhtmlxscheduler/index.d.ts
vendored
@@ -1769,12 +1769,13 @@ interface SchedulerStatic {
|
||||
|
||||
/**
|
||||
* displays the specified view and date (doesn't invoke any events)
|
||||
* the function will just refresh the current view if invoked without parameters.
|
||||
* @param date the date to set
|
||||
* @param view the view name
|
||||
*/
|
||||
updateView(date: Date, view: string): void;
|
||||
updateView(date?: Date, view?: string): void;
|
||||
|
||||
}
|
||||
|
||||
declare var scheduler: SchedulerStatic;
|
||||
declare var Scheduler: SchedulerEnterprise;
|
||||
declare var Scheduler: SchedulerEnterprise;
|
||||
|
||||
Reference in New Issue
Block a user