Update src/compile/render-dom/wrappers/Element/Binding.ts

Co-Authored-By: Rich-Harris <richard.a.harris@gmail.com>
pull/1998/head^2
Chris Reeves 7 years ago committed by GitHub
parent 5e30e90e70
commit ce8dff3d0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -55,7 +55,7 @@ export default class BindingWrapper {
const { name } = getObject(this.node.expression.node);
const eachBlock = this.parent.node.scope.getOwner(name);
(<EachBlock>eachBlock).has_binding = true;
(eachBlock as EachBlock).has_binding = true;
}
this.object = getObject(this.node.expression.node).name;

Loading…
Cancel
Save