From aa7352876a9c634bcae92726746bd92ea0c02005 Mon Sep 17 00:00:00 2001 From: Christian Chown Date: Tue, 27 Nov 2018 12:13:54 +0000 Subject: [PATCH] Export onSelect function types --- types/react-infinite-calendar/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/react-infinite-calendar/index.d.ts b/types/react-infinite-calendar/index.d.ts index 8d17e6dd4e..10a246c5ae 100644 --- a/types/react-infinite-calendar/index.d.ts +++ b/types/react-infinite-calendar/index.d.ts @@ -20,8 +20,8 @@ export interface RangedSelection { end: Date; } -type RangedSelectFunction = (rangedDate: RangedSelection) => void; -type DateSelectFunction = (date: string) => void; +export type RangedSelectFunction = (rangedDate: RangedSelection) => void; +export type DateSelectFunction = (date: string) => void; export interface ReactInfiniteCalendarProps { selected?: DateType | false | { start: DateType; end: DateType };