diff --git a/plugins/catalog-react/src/components/EntityRefLink/EntityRefLinks.tsx b/plugins/catalog-react/src/components/EntityRefLink/EntityRefLinks.tsx index 71a60f3a15..2502fbbb6e 100644 --- a/plugins/catalog-react/src/components/EntityRefLink/EntityRefLinks.tsx +++ b/plugins/catalog-react/src/components/EntityRefLink/EntityRefLinks.tsx @@ -26,19 +26,21 @@ import { FetchedEntityRefLinks } from './FetchedEntityRefLinks'; */ export type EntityRefLinksProps< TRef extends string | CompoundEntityRef | Entity, -> = +> = ( | { defaultKind?: string; entityRefs: TRef[]; fetchEntities?: false; getTitle?(entity: TRef): string | undefined; } - | ({ + | { defaultKind?: string; entityRefs: TRef[]; fetchEntities: true; getTitle(entity: Entity): string | undefined; - } & Omit); + } +) & + Omit; /** * Shows a list of clickable links to entities.