We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cce833d commit 5a0eca3Copy full SHA for 5a0eca3
1 file changed
packages/ra-ui-materialui/src/field/RecordField.tsx
@@ -84,6 +84,9 @@ export const RecordField = <
84
);
85
};
86
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
+
90
export interface RecordFieldProps<
91
RecordType extends Record<string, any> = Record<string, any>,
92
> extends StackProps {
0 commit comments