svelte-eslint-parser
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -550,2 +550,5 @@ "use strict"; | ||
function removeScope(scopeManager, scope) { | ||
for (const childScope of scope.childScopes) { | ||
removeScope(scopeManager, childScope); | ||
} | ||
while (scope.references[0]) { | ||
@@ -552,0 +555,0 @@ removeReference(scope.references[0], scope); |
@@ -146,3 +146,3 @@ "use strict"; | ||
? "(e:CustomEvent<any>)=>void" | ||
: `(e:HTMLElementEventMap['${node.name}'])=>void`)); | ||
: `(e:'${node.name}' extends keyof HTMLElementEventMap?HTMLElementEventMap['${node.name}']:CustomEvent<any>)=>void`)); | ||
return directive; | ||
@@ -149,0 +149,0 @@ } |
{ | ||
"name": "svelte-eslint-parser", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Svelte parser for ESLint", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
144118
3487