From d32d300e84330f94d0406cf3847563560a21dd31 Mon Sep 17 00:00:00 2001 From: Kevin Schaaf Date: Wed, 10 Jul 2019 12:04:14 -0700 Subject: [PATCH] Fix closure type. --- lib/mixins/property-effects.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }