diff --git a/packages/ra-core/src/controller/field/useReference.ts b/packages/ra-core/src/controller/field/useReference.ts index 14d6b18c71e..41af814811d 100644 --- a/packages/ra-core/src/controller/field/useReference.ts +++ b/packages/ra-core/src/controller/field/useReference.ts @@ -52,8 +52,8 @@ export interface UseReferenceProps { * @param {Object} option * @param {boolean} option.allowEmpty do we allow for no referenced record (default to false) * @param {string} option.basePath basepath to current resource - * @param {string | false | linkTypeFunction} option.linkType The type of the link toward the referenced record. 'edit', 'show' of - * false for no link (default to edit). Alternatively a function that returns a string + * @param {string | false | linkTypeFunction} option.linkType The type of the link toward the referenced record. 'edit', 'show' or + * false for no link (default to edit). Alternatively a function that returns a string * @param {Object} option.record The The current resource record * @param {string} option.reference The linked resource name * @param {string} option.resource The current resource name