We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e07b6d4 + 8bc5b3a commit 369ae45Copy full SHA for 369ae45
index.js
@@ -6,7 +6,7 @@ const addInherited = require('jsdoc/augment').addInherited; // eslint-disable-li
6
7
const importRegEx =
8
/import\(["']([^"']*)["']\)(?:\.([^ \.\|\}><,\)=#\n]*))?([ \.\|\}><,\)=#\n])/g;
9
-const typedefRegEx = /@typedef \{[^\}]*\} (\S+)/g;
+const typedefRegEx = /@typedef\s*(?:\{[^\}]*\}\s*)?([^\{\}\s]+)/g;
10
const noClassdescRegEx = /@(typedef|module|type)/;
11
const extensionReplaceRegEx = /\.m?js$/;
12
const extensionEnsureRegEx = /(\.js)?$/;
0 commit comments