Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extract-access depends on docType which is not available in jsdoc #185

Open
wingedfox opened this issue Jun 19, 2016 · 1 comment
Open

Comments

@wingedfox
Copy link
Contributor

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.

wingedfox added a commit to wingedfox/dgeni-alive that referenced this issue Jun 19, 2016
@Aashima89
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants