Skip to content

Commit 5a0eca3

Browse files
committed
Fix build
1 parent cce833d commit 5a0eca3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/ra-ui-materialui/src/field/RecordField.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ export const RecordField = <
8484
);
8585
};
8686

87+
// FIXME remove custom type when using TypeScript >= 5.4 as it is now native
88+
type NoInfer<T> = T extends infer U ? U : never;
89+
8790
export interface RecordFieldProps<
8891
RecordType extends Record<string, any> = Record<string, any>,
8992
> extends StackProps {

0 commit comments

Comments
 (0)