diff --git a/types/react-flatpickr/index.d.ts b/types/react-flatpickr/index.d.ts index 5e3b12fdf8..c867527b06 100644 --- a/types/react-flatpickr/index.d.ts +++ b/types/react-flatpickr/index.d.ts @@ -20,7 +20,6 @@ export interface DateTimePickerProps { onValueUpdate?: flatpickr.Options.Hook; onDayCreate?: flatpickr.Options.Hook; value?: string | Date | number | ReadonlyArray; - children?: JSX.Element | JSX.Element[]; } export default class DatePicker extends Component {} diff --git a/types/react-flatpickr/react-flatpickr-tests.tsx b/types/react-flatpickr/react-flatpickr-tests.tsx index c51f527707..7a1c64c266 100644 --- a/types/react-flatpickr/react-flatpickr-tests.tsx +++ b/types/react-flatpickr/react-flatpickr-tests.tsx @@ -40,16 +40,3 @@ const valueDateArrayElement = ( const valueNumberArrayElement = ( ); - -const wrappedElement = ( - - - -); - -const wrappedElements = ( - - - - -);