From a9ff0ee0225c8d841ed3922aa6680bdb39612bce Mon Sep 17 00:00:00 2001 From: Richard Harris Date: Sat, 26 Jan 2019 14:05:18 -0500 Subject: [PATCH] tidy up --- src/compile/nodes/Element.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/compile/nodes/Element.ts b/src/compile/nodes/Element.ts index 0efa995c81..a7a330e826 100644 --- a/src/compile/nodes/Element.ts +++ b/src/compile/nodes/Element.ts @@ -1,5 +1,4 @@ import isVoidElementName from '../../utils/isVoidElementName'; -import { quotePropIfNecessary } from '../../utils/quoteIfNecessary'; import Node from './shared/Node'; import Attribute from './Attribute'; import Binding from './Binding'; @@ -77,7 +76,7 @@ const passiveEvents = new Set([ export default class Element extends Node { type: 'Element'; name: string; - scope: any; // TODO + scope: TemplateScope; attributes: Attribute[] = []; actions: Action[] = []; bindings: Binding[] = []; @@ -89,7 +88,6 @@ export default class Element extends Node { animation?: Animation = null; children: Node[]; namespace: string; - scope: TemplateScope; constructor(component, parent, scope, info: any) { super(component, parent, scope, info);