[typescript] error TS2707: Generic type 'MouseEvent<T>' requires between 0 and 1 type arguments.
node_modules/material-ui-pickers/_shared/DateTextField.d.ts:92:22 - error TS2707: Generic type 'SyntheticEvent<T>' requires between 0 and 1 type arguments.
92 handleFocus: (e: React.SyntheticEvent<Element, Event>) => void;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/material-ui-pickers/_shared/DateTextField.d.ts:94:21 - error TS2707: Generic type 'SyntheticEvent<T>' requires between 0 and 1 type arguments.
94 openPicker: (e: React.SyntheticEvent<Element, Event>) => void;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/material-ui-pickers/TimePicker/components/Clock.d.ts:21:21 - error TS2707: Generic type 'MouseEvent<T>' requires between 0 and 1 type arguments.
21 handleMove: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/material-ui-pickers/TimePicker/components/Clock.d.ts:22:24 - error TS2707: Generic type 'MouseEvent<T>' requires between 0 and 1 type arguments.
22 handleMouseUp: (e: React.MouseEvent<Element, MouseEvent>) => void;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/material-ui-pickers/wrappers/InlineWrapper.d.ts:34:15 - error TS2707: Generic type 'SyntheticEvent<T>' requiresbetween 0 and 1 type arguments.
34 open: (e: React.SyntheticEvent<Element, Event>) => void;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[17:36:24] Found 5 errors. Watching for file changes.
Live example
changed the title
[typescript error TS2707: Generic type 'MouseEvent<T>' requires between 0 and 1 type arguments.
[typescript] error TS2707: Generic type 'MouseEvent<T>' requires between 0 and 1 type arguments.
Jan 11, 2019