diff options
Diffstat (limited to 'src/compiler/transform/index.ts')
-rw-r--r-- | src/compiler/transform/index.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/transform/index.ts b/src/compiler/transform/index.ts index 6a81b92b0..02a98709b 100644 --- a/src/compiler/transform/index.ts +++ b/src/compiler/transform/index.ts @@ -56,6 +56,7 @@ function walkAstWithVisitors(tmpl: TemplateNode, collection: VisitorCollection) walk(tmpl, { enter(node, parent, key, index) { if (collection.enter.has(node.type)) { + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion const fns = collection.enter.get(node.type)!; for (let fn of fns) { fn.call(this, node, parent, key, index); @@ -64,6 +65,7 @@ function walkAstWithVisitors(tmpl: TemplateNode, collection: VisitorCollection) }, leave(node, parent, key, index) { if (collection.leave.has(node.type)) { + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion const fns = collection.leave.get(node.type)!; for (let fn of fns) { fn.call(this, node, parent, key, index); |