diff --git a/packages/api-docs-builder/ApiBuilders/ComponentApiBuilder.ts b/packages/api-docs-builder/ApiBuilders/ComponentApiBuilder.ts index ec3656faf35df9..bd74fc89a84bee 100644 --- a/packages/api-docs-builder/ApiBuilders/ComponentApiBuilder.ts +++ b/packages/api-docs-builder/ApiBuilders/ComponentApiBuilder.ts @@ -679,7 +679,7 @@ const attachTable = ( const typeTag = propDescriptor.tags?.type; - let type = (typeTag?.text?.[0]?.text ?? defaultType) + let type = typeTag?.text?.[0]?.text ?? defaultType; if (typeof type === 'string') { type = type.replace(/{|}/g, ''); }