Closed didje251 closed 3 years ago
Similarly to another issue found here, but solution is not working for my setup..
import and use DateTimePicker and DatePicker
No error
Getting comnpilation error:
Failed to compile. h:/work-new/ACE-Web-Widgets/node_modules/@material-ui/pickers/_helpers/text-field-helper.d.ts (27,219): Type '[...] | ... 305 more ... | "onYearChange"' does not satisfy the constraint '"required" | "disabled" | "error" | "hidden" | "dir" | "label" | "select" | "slot" | "style" | "title" | "open" | "about" | "contextMenu" | "color" | "size" | "key" | "ref" | "children" | ... 306 more ... | "openTo"'. Type '"onAuxClick"' is not assignable to type '"required" | "disabled" | "error" | "hidden" | "dir" | "label" | "select" | "slot" | "style" | "title" | "open" | "about" | "contextMenu" | "color" | "size" | "key" | "ref" | "children" | ... 306 more ... | "openTo"'.
Similarly to another issue found here, but solution is not working for my setup..
Steps to reproduce
import and use DateTimePicker and DatePicker
Expected behavior
No error
Actual behavior
Getting comnpilation error: