Skip to content

Commit

Permalink
remove unknown type
Browse files Browse the repository at this point in the history
  • Loading branch information
sai6855 committed Apr 13, 2023
1 parent b6d05a2 commit 089f989
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/data/material/guides/routing/LinkRouterWithTheme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const theme = createTheme({
MuiLink: {
defaultProps: {
component: LinkBehavior,
} as unknown as LinkProps,
} as LinkProps<typeof LinkBehavior>,
},
MuiButtonBase: {
defaultProps: {
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-material/src/styles/props.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export interface ComponentsPropsList {
MuiInputBase: InputBaseProps;
MuiInputLabel: InputLabelProps;
MuiLinearProgress: LinearProgressProps;
MuiLink: LinkProps;
MuiLink: LinkProps<React.ElementType>;
MuiList: ListProps;
MuiListItem: ListItemProps;
MuiListItemButton: ListItemButtonProps;
Expand Down

0 comments on commit 089f989

Please sign in to comment.