-
-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch jsdoc-vuejs@3.0.9 for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/jsdoc-vuejs/index.js b/node_modules/jsdoc-vuejs/index.js
index 2205f33..30b7019 100644
--- a/node_modules/jsdoc-vuejs/index.js
+++ b/node_modules/jsdoc-vuejs/index.js
@@ -17,7 +17,7 @@ exports.handlers = {
beforeParse(e) {
if (/\.vue$/.test(e.filename)) {
exportDefaultLines[e.filename] = seekExportDefaultLine(e.source, e.filename);
- e.source = extractVueScript(e.filename);
+ e.source = extractVueScript(e.filename).replace(/\:\s(string|number|boolean|Undefined|null|Array|object|any|void)/ig, '');
}
},
newDoclet(e) {This issue body was partially generated by patch-package.
Metadata
Metadata
Assignees
Labels
No labels