diff --git a/plugins/catalog-react/api-report.md b/plugins/catalog-react/api-report.md index b2b098ec68..f6ead9a31a 100644 --- a/plugins/catalog-react/api-report.md +++ b/plugins/catalog-react/api-report.md @@ -441,7 +441,7 @@ export function humanizeEntityRef( entityRef: Entity | CompoundEntityRef, opts?: { defaultKind?: string; - defaultNamespace?: string | boolean; + defaultNamespace?: string | false; }, ): string; diff --git a/plugins/catalog-react/src/components/EntityRefLink/humanize.ts b/plugins/catalog-react/src/components/EntityRefLink/humanize.ts index 358b6a5851..bfc8e2af84 100644 --- a/plugins/catalog-react/src/components/EntityRefLink/humanize.ts +++ b/plugins/catalog-react/src/components/EntityRefLink/humanize.ts @@ -29,7 +29,7 @@ export function humanizeEntityRef( entityRef: Entity | CompoundEntityRef, opts?: { defaultKind?: string; - defaultNamespace?: string | boolean; + defaultNamespace?: string | false; }, ) { const defaultKind = opts?.defaultKind;