check-types
message for @returns has empty string for some reason
#103
Labels
check-types
message for @returns has empty string for some reason
#103
With
jsdoc/check-types
, I'm getting the message:The empty string there comes from
jsdocTag.name
within this line ofsrc/rules/checkTypes.js
:I assume that this may apply to the likes of
name
obtained from your call to https://github.com/yavorskiy/comment-parser , though in the case of@returns
a name is not expected, so this doesn't really fit here I think (and though, off topic somewhat, I don't know why I'm not seeing at least "A" being passed as the name here when the line flagging this rule is* @returns {object} A color object
).(FWIW, I tried debugging comment-parser at https://npm.runkit.com/comment-parser .)
The text was updated successfully, but these errors were encountered: