-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
check-types
: Traversing variadic AST (for function(...)
) gives "TypeError: Cannot read property 'type' of null"
#389
check-types
: Traversing variadic AST (for function(...)
) gives "TypeError: Cannot read property 'type' of null"
#389
Comments
This appears, in a sense, to be an issue with jsdoctypeparser. While we could wrap the call to the So an issue should really be filed there. However, I'm not sure what the course of action should be in this case. It is not entirely clear that the variadic format you are using--three dots not followed by anything--is considered acceptable or not (and if so by which jsdoc dialects).
As a workaround (until determination is made on whether to eliminate this possibility or fully support it) you might use |
This is now blocking on jsdoctypeparser/jsdoctypeparser#89 . Feel free to subscribe there. |
check-types
: Traversing variadic AST (for function(...)
) gives "TypeError: Cannot read property 'type' of null"
🎉 This issue has been resolved in version 15.9.9 🎉 The release is available on: Your semantic-release bot 📦🚀 |
code snippet:
eslint crashes:
this basically means the func accepts an arbitrary number of arguments of arbitrary type.
The text was updated successfully, but these errors were encountered: