From 9c14489f0c4f98061b9907e273d92d7ba06eb84f Mon Sep 17 00:00:00 2001 From: "BIKS\\amit" Date: Sun, 6 Aug 2017 09:51:48 +0300 Subject: [PATCH 1/2] flatpicker plugins type support --- types/flatpickr/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/flatpickr/index.d.ts b/types/flatpickr/index.d.ts index fce4214c90..281d69acdf 100644 --- a/types/flatpickr/index.d.ts +++ b/types/flatpickr/index.d.ts @@ -70,6 +70,7 @@ declare namespace Flatpickr { weekNumbers?: boolean; wrap?: boolean; locale?: string | Locale; + plugins?: any; } interface Locale { From 7fb16692ad82cef0740e56a0ce226d8c523bc585 Mon Sep 17 00:00:00 2001 From: "BIKS\\amit" Date: Sun, 6 Aug 2017 18:13:30 +0300 Subject: [PATCH 2/2] update to array of any --- types/flatpickr/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/flatpickr/index.d.ts b/types/flatpickr/index.d.ts index 281d69acdf..eb29ddfa14 100644 --- a/types/flatpickr/index.d.ts +++ b/types/flatpickr/index.d.ts @@ -70,7 +70,7 @@ declare namespace Flatpickr { weekNumbers?: boolean; wrap?: boolean; locale?: string | Locale; - plugins?: any; + plugins?: any[]; } interface Locale {