Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 78072

Missing typescript definitions in kendo ui v2016.2.714

$
0
0

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.

interfaceSchedulerView {
    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

Viewing all articles
Browse latest Browse all 78072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>