Lint and format src/compiler/compile/nodes/Animation.js

pull/8569/head
Simon Holthausen 3 years ago
parent f745d35084
commit ba6bc462ae

@ -4,7 +4,6 @@ import compiler_errors from '../compiler_errors.js';
/** @extends Node */
export default class Animation extends Node {
/** @type {'Animation'} */
type;
@ -39,13 +38,9 @@ export default class Animation extends Node {
component.error(this, compiler_errors.invalid_animation_key);
return;
}
( /** @type {import('./EachBlock.js').default} */(block)).has_animation = true;
/** @type {import('./EachBlock.js').default} */ (block).has_animation = true;
this.expression = info.expression
? new Expression(component, this, scope, info.expression, true)
: null;
}
}

Loading…
Cancel
Save