From 1cce847cfeab6475e9e602557b5eeb30ea867657 Mon Sep 17 00:00:00 2001 From: wagich Date: Tue, 27 Jun 2017 19:30:00 +0200 Subject: [PATCH] tries to make travis happy --- types/flatpickr/index.d.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/types/flatpickr/index.d.ts b/types/flatpickr/index.d.ts index 57c3d60213..fce4214c90 100644 --- a/types/flatpickr/index.d.ts +++ b/types/flatpickr/index.d.ts @@ -22,11 +22,11 @@ declare class Flatpickr { set(option: string, value: any): void; setDate(date: Flatpickr.DateString | Flatpickr.DateString[], triggerChange?: boolean, dateFormat?: string): void; toggle(): void; - + static localize(locale: string | Flatpickr.Locale): void; static l10ns: { default: Flatpickr.Locale; - } + }; } declare namespace Flatpickr { @@ -71,30 +71,30 @@ declare namespace Flatpickr { wrap?: boolean; locale?: string | Locale; } - + interface Locale { weekdays?: { shorthand?: string[]; longhand?: string[]; }; - + months?: { shorthand?: string[]; longhand?: string[]; }; - + firstDayOfWeek?: number; weekAbbreviation?: string; rangeSeparator?: string; am?: string; pm?: string; - + ordinal?: ((nth: number) => string) | string; - + scrollTitle?: string; toggleTitle?: string; - } - + } + type DateString = Date | string; type DateRange = DateString | { from: DateString, to: DateString } | ((date: Date) => boolean); type Mode = 'single' | 'multiple' | 'range';