We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14d7f22 commit c206a9eCopy full SHA for c206a9e
src/rules/noUndefinedTypes.js
@@ -19,7 +19,7 @@ export default iterateJsdoc(({
19
})
20
.map(parseComment)
21
.flatMap((doc) => {
22
- return doc.tags.filter((tag) => {
+ return (doc.tags || []).filter((tag) => {
23
return tag.tag === 'typedef';
24
});
25
0 commit comments