-
Notifications
You must be signed in to change notification settings - Fork 34
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
Uncaught TypeError: Cannot read property 'names' of undefined #55
Comments
I'm able to fix this issue by doing a find and replace for all instances of: find: replace: We should probably emit a warning if no |
Thanks for reporting. Well that's actually invalid JSDoc but still we should watch for it. But shouldn't give warnings which would bloat the code too much. It'd be best to validate/lint jsdoc while writing it (via editors, plugins, etc) anyway.. I'm adding conditionals to watch out for this. I'll let you know shortly. |
@onury, out of curiosity, what does your typical dev setup look like for enforcing valid JSDoc? |
I use VSCode for editor and use/install proper extensions for linting while I write. I include |
Fixed with Docma v3.0.0. |
This bit of code:
Is called, and
returns
value is:[{description: "Object"}]
When this line is executed:
docma/lib/web/DocmaWeb.Utils.js
Line 1130 in 464fe5b
item
is{description: "Object"}
has atype
ofundefined
, which causes this error.The text was updated successfully, but these errors were encountered: