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
Missing non-explicit @param's #499
Comments
Your first example is a static assignment with the value that function call returns. Neither of the two create a function called 'getStaticMapImg' which im guessing is your real intent here if the comments are taken into account... |
They are assignments, but they evaluate to functions. I don't expect ESDoc to parse dynamic assignments, but I do need a way of documenting these, since for all intents and purposes All I need is for ESDoc to take my word on it and include the |
again, the fact that your function-call produces dynamic data on call-time, does not make your If you want it to become a function then you should declare it as such... eg: function getStaticMapImg( ...vars... ){
...
return [your value]
} To be 100% clear; |
Anyway this repo is about esdoc usage and not about coding errors 😉 |
I'm not sure how to document functions that are created as the result of a function expression.
For instance, with Ramda's pipe function (below), the
@param
seems to be ignored by ESDoc. This is probably because it isn't explicit, but is required by the result ofR.pipe(...)
.For instance, this doesn't include the
@param
in the generated docs:This works:
But it's a bit pointless. Is there any way to force ESDoc to include an
@param
, even when it doesn't think it should, or any other way around this (other than putting it in the desc).Any help is appreciated - apart from this I'm really liking ESDoc.
The text was updated successfully, but these errors were encountered: