mirror of
https://github.com/tauri-apps/typedoc-plugin-markdown.git
synced 2026-01-31 00:45:20 +01:00
Remove extra signature comment block
This commit is contained in:
@@ -42,13 +42,6 @@ export function signatureMember(
|
||||
md.push(tags.join('\n\n'));
|
||||
}
|
||||
|
||||
if (signature.comment?.blockTags.length) {
|
||||
const tags = signature.comment.blockTags
|
||||
.filter((tag) => tag.tag === '@returns')
|
||||
.map((tag) => context.partials.commentParts(tag.content));
|
||||
md.push(tags.join('\n\n'));
|
||||
}
|
||||
|
||||
if (typeDeclaration?.signatures) {
|
||||
typeDeclaration.signatures.forEach((signature) => {
|
||||
md.push(context.partials.signatureMember(signature));
|
||||
|
||||
Reference in New Issue
Block a user