diff --git a/lib/mixins/property-effects.js b/lib/mixins/property-effects.js index 83960e4987..34da128983 100644 --- a/lib/mixins/property-effects.js +++ b/lib/mixins/property-effects.js @@ -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; }