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
Doc comments not picked up with ES2015 export statement #769
Comments
mrennie
added a commit
to mrennie/tern
that referenced
this issue
Jun 6, 2016
marijnh
pushed a commit
that referenced
this issue
Jun 7, 2016
|
Fixed in 453f6fd |
|
@marijnh Thank you very much for this, and for your work on this fantastic project. |
|
Having the same issue with v0.21.0, except with variable declarations: The following does not recognise the typing of /** @type {string} */
export let someString;Yet this does: /** @type {string} */
let someString;
export someString; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tern doesn't seem to pick up the JSDoc comment in the following case:
It behaves just as if the comment wasn't there. It recognizes the
divide()function as an export,but it doesn't get the description and type information from the comment.
Oddly, however, the following works fine:
Is this a bug, or am I missing something?
The text was updated successfully, but these errors were encountered: