You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * @module namespaced/class/Type *//** * Refers to a module: prefixed type * @param {module:namespaced/class/Type} param - A parameter **/functionf(type: Type){}
Expected behavior:
When inspecting the AST (in this case for a tslint rule), I expected the type of the JSDocParameterTag node to be module:namespaced/class/Type. Instead, it appears parsing the type stopped at : and the node.comment part is :namespaced/class/Type} param - A parameter.
Actual behavior:
I would expect the type to be correctly parsed as well as the remainder of the @param tag.
Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered:
TypeScript Version: 3.0.0-dev.201xxxxx
Search Terms: jsdoc parse type module
Code
Expected behavior:
When inspecting the AST (in this case for a tslint rule), I expected the type of the
JSDocParameterTag
node to bemodule:namespaced/class/Type
. Instead, it appears parsing the type stopped at:
and thenode.comment
part is:namespaced/class/Type} param - A parameter
.Actual behavior:
I would expect the type to be correctly parsed as well as the remainder of the
@param
tag.Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered: