Skip to content

Commit

Permalink
fix(scripts): don't build declaration for function startsWith _ (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
sigoden authored Nov 2, 2024
1 parent 602ca05 commit 68b1f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-declarations.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function extractFunctions(contents, isTool) {
funcName = match[1];
}
}
if (funcName) {
if (funcName && !funcName.startsWith("_")) {
output.push({ funcName, jsdoc });
}
}
Expand Down

0 comments on commit 68b1f57

Please sign in to comment.