otris / jsdoc-tsd

JSDoc template for generating TypeScript definition files based on JSDoc comments.
MIT License
29 stars 7 forks source link

Support jsdoc --private option #34

Closed tineheller closed 6 years ago

tineheller commented 6 years ago

The function prune() of jsdoc/util/templateHelper should be called in template. The flag ignorePrivateMembers can be removed then.

wehrstedt commented 6 years ago

This issue is closed with #35. With this PR the config property "ignorePrivateMembers" will be removed. Instead we use the jsdoc provided parameter --private to identify if private members should be omitted or not. This means that private members will be omitted by default now unless the option --private is passed with the jsdoc-call