Open
Description
As raised in #308, contexts where we are checking namepaths in valid-types
also mistakenly allow for more broad types, e.g.,Array<string>
should get reported in @typedef {StringArray} Array<string>
but it currently is not.
I've filed jsdoctypeparser/jsdoctypeparser#86 to possibly have jsdoctypeparser facilitate strict namepath checking rather than examining the parse results more closely here.
See also jsdoc-type-pratt-parser/jsdoc-type-pratt-parser#77 and jsdoc-type-pratt-parser/jsdoc-type-pratt-parser#104
Ideally, @memberof
variation pointers would be valid as well (see #521 ).
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.