From 32f9adbd79f468654f7da3cf6a5cb5e5467f4615 Mon Sep 17 00:00:00 2001 From: Sebastian Silbermann Date: Sun, 3 Apr 2022 16:09:34 +0200 Subject: [PATCH] [TableHead] Fix TypeScript 4.7 compat issues (#32126) --- packages/material-ui/src/TableHead/TableHead.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/material-ui/src/TableHead/TableHead.d.ts b/packages/material-ui/src/TableHead/TableHead.d.ts index dbd4d9a3827065..49e24b06de7e2f 100644 --- a/packages/material-ui/src/TableHead/TableHead.d.ts +++ b/packages/material-ui/src/TableHead/TableHead.d.ts @@ -23,7 +23,7 @@ export type TableHeadClassKey = 'root'; export type TableHeadProps< D extends React.ElementType = TableHeadTypeMap['defaultComponent'], - P = {} + P extends {} = {} > = OverrideProps, D>; export default TableHead;