dgeni-packages
dgeni-packages copied to clipboard
extract-access depends on docType which is not available in jsdoc
Hi,
There's a check https://github.com/angular/dgeni-packages/blob/master/jsdoc/services/transforms/extract-access.js#L24 which fails with
Illegal use of "@public" tag. You can only use this tag on the following docTypes: ['property', 'method']. Register this docType with extractAccessTransform.addDocType("js") prior to use.
Guess this is not a desired behaviour for ES* code.
I got the same issue with @private tag
info: running processor: extractTagsProcessor error: Error: Illegal use of "@private" tag. You can only use this tag on the following docTypes: [ property, method ]. Register this docType with extractAccessTransform.addDocType("js") prior to use - doc (js)
Added mentioned workaround by @wingedfox in my dgeni configuration file.
Should that be fixed as part of dgeni package itself?