Skip to content

Commit

Permalink
Fix closure type.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Jul 10, 2019
1 parent 7d3739b commit d32d300
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/mixins/property-effects.js
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,8 @@ function getComputedOrder(inst) {
}
}
if (total !== 0) {
console.warn(`Computed graph for ${inst.localName} incomplete; circular?`);
const el = /** @type {HTMLElement} */ (inst);
console.warn(`Computed graph for ${el.localName} incomplete; circular?`);
}
inst.constructor.__orderedComputedDeps = ordered;
}
Expand Down

0 comments on commit d32d300

Please sign in to comment.