Skip to content

Commit

Permalink
[TableHead] Fix TypeScript 4.7 compat issues (#32126)
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon authored Apr 3, 2022
1 parent ac08a3a commit 32f9adb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/material-ui/src/TableHead/TableHead.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export type TableHeadClassKey = 'root';

export type TableHeadProps<
D extends React.ElementType = TableHeadTypeMap['defaultComponent'],
P = {}
P extends {} = {}
> = OverrideProps<TableHeadTypeMap<P, D>, D>;

export default TableHead;

0 comments on commit 32f9adb

Please sign in to comment.