-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
2D array @params #705
Comments
Yes, I believe JSDoc Toolkit 2.x supported this syntax. I agree that JSDoc 3 ought to support it as well. The alternative is to use Closure Compiler-style notation, like this: |
Fixed on master. I'm publishing a new alpha to npm shortly, which will also include this fix. Note that if you installed JSDoc by cloning the git repo or something like that, you'll need to run |
Please advise if I've misunderstood something, but I was expecting to be able to document a 2-d array parameter as follows:
However, this generates ERROR: Unable to create a Tag object for source file ... with title "param" and body "{number[][]} matrix - The matrix to be transformed.": Invalid type expression "number[][]": Expected "!", "?" or "|" but "[" found.
Is there an alternative way of indicating a 2-d array, or is this a feature request? Thx.
The text was updated successfully, but these errors were encountered: