-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Labels
Domain: APIRelates to the public API for TypeScriptRelates to the public API for TypeScriptSuggestionAn idea for TypeScriptAn idea for TypeScript
Description
The earlier versions (before 2.1) returned all tags (except for @param) when symbol.getDocumentationComment() was called. The new parser is smarter and parses all tags. However they cannot be retrieved by using the public API.
In my case this is needed so that the tags can be analysed by a build script that generates code and documentation. I am using a mixture of standard and custom jsdoc tags that control how a type or property is represented in the documentation.
The typescript.d.ts file does not expose the jsDoc property of nodes. I can do <ts.NodeArray<ts.JSDoc>>(<any>node).jsDoc - this works but I would prefer if this was officially exposed in the API.
Metadata
Metadata
Assignees
Labels
Domain: APIRelates to the public API for TypeScriptRelates to the public API for TypeScriptSuggestionAn idea for TypeScriptAn idea for TypeScript