From 72921a4e5e770c5ecfaa8bac6a7ed8be632ee642 Mon Sep 17 00:00:00 2001 From: Pierre Date: Tue, 21 Nov 2017 16:42:25 +0100 Subject: [PATCH] Update new flatpickr def See https://github.com/chmln/flatpickr/blob/3c100acb1e4329b764089140511667ea400116c4/index.d.ts#L28-L29 --- types/react-flatpickr/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/react-flatpickr/index.d.ts b/types/react-flatpickr/index.d.ts index e960524854..ebac89f48d 100644 --- a/types/react-flatpickr/index.d.ts +++ b/types/react-flatpickr/index.d.ts @@ -5,12 +5,12 @@ // TypeScript Version: 2.3 import { Component } from 'react'; -import { Hook, Options } from 'flatpickr'; +import { Options } from 'flatpickr'; export interface DateTimePickerProps { defaultValue?: string; - options?: Options; - onChange?: Hook; + options?: Options.Options; + onChange?: Options.Hook; value?: string; }