Skip to content

Commit 36a3e30

Browse files
committed
fixup!
1 parent 3dc3cf3 commit 36a3e30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/generators/jsx-ast/utils/signature.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export const createSignatureTable = (node, remark) => {
141141
const items = parseListIntoProperties(node, remark);
142142

143143
return createJSXElement(JSX_IMPORTS.FunctionSignature.name, {
144-
title: items.length > 1 ? 'Attributes' : undefined,
144+
title: items.length > 1 && 'kind' in items[0] ? 'Attributes' : undefined,
145145
items,
146146
});
147147
};

0 commit comments

Comments
 (0)