From d3930d8d41a0eb5abcfdf029d6809f79837a87ca Mon Sep 17 00:00:00 2001 From: Quentin Date: Wed, 12 Apr 2017 23:22:12 +0200 Subject: [PATCH] Update fullCalendar types `height` accepts `'auto'` and `'parent'` ([source](https://fullcalendar.io/docs/display/height/)) `slotDuration` accepts "anything that the moment.duration constructor accepts" ([source](https://fullcalendar.io/docs/utilities/Duration/), [duration declaration](https://github.com/moment/moment/blob/develop/moment.d.ts#L643)) --- types/fullcalendar/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/fullcalendar/index.d.ts b/types/fullcalendar/index.d.ts index 02b30832b1..e040d613f9 100644 --- a/types/fullcalendar/index.d.ts +++ b/types/fullcalendar/index.d.ts @@ -50,7 +50,7 @@ export interface Options extends AgendaOptions, EventDraggingResizingOptions, Dr weekNumbers?: boolean; weekNumberCalculation?: any; // String/Function businessHours?: boolean | BusinessHours | BusinessHours[]; - height?: number; + height?: number | 'auto' | 'parent'; contentHeight?: number; aspectRatio?: number; handleWindowResize?: boolean; @@ -150,7 +150,7 @@ export interface Options extends AgendaOptions, EventDraggingResizingOptions, Dr export interface AgendaOptions { allDaySlot?: boolean; allDayText?: string; - slotDuration?: moment.Duration; + slotDuration?: moment.DurationInputArg1; slotLabelFormat?: string; slotLabelInterval?: moment.Duration; snapDuration?: moment.Duration;