Skip to content

Commit ef50c26

Browse files
committed
fix: update RecordType definition in ReferenceFieldBaseProps for better type compatibility
1 parent 48b6b5a commit ef50c26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ra-core/src/controller/field/ReferenceFieldBase.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export const ReferenceFieldBase = <
106106

107107
export interface ReferenceFieldBaseProps<
108108
ReferenceRecordType extends RaRecord = RaRecord,
109-
RecordType extends RaRecord = RaRecord,
109+
RecordType extends Record<string, any> = Record<string, any>,
110110
> {
111111
children?: ReactNode;
112112
render?: (

0 commit comments

Comments
 (0)