TypeScriptAST
TypeScriptAST copied to clipboard
JsDoc Comment is null
When the following code:
/**
* Property-based callback for X event
* @param payload: the x payload payload
*/
@Input() public onX: (payload: XPayload) => void;
is navigated to via TypeScriptAST, the property's JsDoc contains a single entry. That entry's Comment property is null. I can't find any way to get the actual comment text without using property.GetTextWithComments() and manually parsing it.
Similarly, the parameter tag's comment is also not set - it is an empty string.