Hello Alex.
ATM I try to find a workaround to my problem. Doing that I might have found a mistake in the kendo typescript definitions
The SchedulerView contains two properties. startTime and endTime. In JS they both are funtions. Changing your defintion to the following makes my typescript work.
interface
SchedulerView {
allDayEventTemplate?:
string
|Function;
allDaySlot?: boolean;
allDaySlotTemplate?:
string
|Function;
columnWidth?: number;
dateHeaderTemplate?:
string
|Function;
dayTemplate?:
string
|Function;
editable?: boolean|SchedulerViewEditable;
endTime(): Date;
eventHeight?: number;
eventTemplate?:
string
|Function;
eventTimeTemplate?:
string
|Function;
group?: SchedulerViewGroup;
majorTick?: number;
majorTimeHeaderTemplate?:
string
|Function;
minorTickCount?: number;
minorTimeHeaderTemplate?:
string
|Function;
selected?: boolean;
selectedDateFormat?:
string
;
showWorkHours?: boolean;
slotTemplate?:
string
|Function;
startTime(): Date;
title?:
string
;
type?:
string
;
workWeekStart?: number;
workWeekEnd?: number;
}
Please check if I am right or tell my how I convince typescript to accept a conversion to at UTC string.
Thanks
Bernd