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

Any way to get jsDoc? #32630

Closed
guoshencheng opened this issue Jul 31, 2019 · 1 comment
Closed

Any way to get jsDoc? #32630

guoshencheng opened this issue Jul 31, 2019 · 1 comment

Comments

@guoshencheng
Copy link

I am going to collect all jsdoc when visit all typescript ast node

in typescript source code, many node was extends JSDocContainer

they may have a property called jsDoc

but it's a internal property

how can i get jsDoc property

for example in my code

function collectJsDoc(node: ClassDeclaration) {
   console.log(node.jsDoc)
}
@guoshencheng
Copy link
Author

same as #7393

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

1 participant