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 90636aa commit a0e2d61Copy full SHA for a0e2d61
index.js
@@ -587,7 +587,7 @@ exports.astNodeVisitor = {
587
replace(eventRegex);
588
589
const typeRegex = new RegExp(
590
- `@(.*[{<|,(!?:]\\s*)(?<!https?:|module:|event:|external:)${key}([^A-Za-z].*?\}|\})`,
+ `@(.*[{<|,(!?:]\\s*)(?<!module:|event:|external:)${key}([^A-Za-z].*?\}|\})`,
591
'g',
592
);
593
replace(typeRegex);
0 commit comments