(5,18): Interface 'ButtonProps' incorrectly extends interface 'Pick<ButtonBaseProps, "disabled" | "media" | "hidden" | "dir" | "form" | "slot" | "style" | "title" | "color" | "children" | "name" | "action" | "defaultChecked" | "defaultValue" | ... 264 more ... | "TouchRippleProps"> & StyledComponentProps<...> & { ...; }'. Type 'ButtonProps' is not assignable to type 'Pick<ButtonBaseProps, "disabled" | "media" | "hidden" | "dir" | "form" | "slot" | "style" | "title" | "color" | "children" | "name" | "action" | "defaultChecked" | "defaultValue" | ... 264 more ... | "TouchRippleProps">'. Types of property 'type' are incompatible. Type 'string | undefined' is not assignable to type '"button" | "reset" | "submit" | undefined'. Type 'string' is not assignable to type '"button" | "reset" | "submit" | undefined'. #15095
Labels
duplicate
This issue or pull request already exists
(5,18): Interface 'ButtonProps' incorrectly extends interface 'Pick<ButtonBaseProps, "disabled" | "media" | "hidden" | "dir" | "form" | "slot" | "style" | "title" | "color" | "children" | "name" | "action" | "defaultChecked" | "defaultValue" | ... 264 more ... | "TouchRippleProps"> & StyledComponentProps<...> & { ...; }'.
Type 'ButtonProps' is not assignable to type 'Pick<ButtonBaseProps, "disabled" | "media" | "hidden" | "dir" | "form" | "slot" | "style" | "title" | "color" | "children" | "name" | "action" | "defaultChecked" | "defaultValue" | ... 264 more ... | "TouchRippleProps">'.
Types of property 'type' are incompatible.
Type 'string | undefined' is not assignable to type '"button" | "reset" | "submit" | undefined'.
Type 'string' is not assignable to type '"button" | "reset" | "submit" | undefined'.
The text was updated successfully, but these errors were encountered: