Skip to content

Commit e1d2be5

Browse files
committed
fix: skip processing for default or skipped symbols in DocParser
1 parent 1c6cfed commit e1d2be5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

packages/ts-doc/src/parsers/DocParser.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ class DocParser {
5555
if (symbol) {
5656
const newSymbol = context.symbols.push(symbol);
5757

58+
if (newSymbol.skip || ["_default", "default"].includes(newSymbol.symbolName)) {
59+
continue;
60+
}
61+
5862
docFile.symbols.set(newSymbol.symbolName, newSymbol);
5963
}
6064
}

0 commit comments

Comments
 (0)