@angular-eslint/template-parser
Advanced tools
Comparing version
@@ -36,3 +36,3 @@ import type { ParseError } from '@angular-eslint/bundled-angular-compiler'; | ||
ast: AST; | ||
scopeManager: ScopeManager; | ||
scopeManager: InstanceType<typeof ScopeManager>; | ||
visitorKeys: VisitorKeys; | ||
@@ -39,0 +39,0 @@ services: { |
@@ -213,5 +213,3 @@ "use strict"; | ||
}; | ||
// @ts-expect-error The types for ScopeManager seem to be wrong, it requires a configuration object or it will throw at runtime | ||
const scopeManager = new eslint_scope_1.ScopeManager({}); | ||
// @ts-expect-error Create a global scope for the ScopeManager, the types for Scope also seem to be wrong | ||
new eslint_scope_1.Scope(scopeManager, 'module', null, ast, false); | ||
@@ -218,0 +216,0 @@ preprocessNode(ast); |
{ | ||
"name": "@angular-eslint/template-parser", | ||
"version": "19.4.1-alpha.16", | ||
"version": "19.4.1-alpha.17", | ||
"description": "Angular Template parser for ESLint", | ||
@@ -22,3 +22,3 @@ "license": "MIT", | ||
"eslint-scope": "^8.0.2", | ||
"@angular-eslint/bundled-angular-compiler": "19.4.1-alpha.16" | ||
"@angular-eslint/bundled-angular-compiler": "19.4.1-alpha.17" | ||
}, | ||
@@ -25,0 +25,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
249
0.4%18613
-1.07%372
-0.53%64
-3.03%+ Added
- Removed
Updated