From 54b1d78d226cb42ffa74f728c1b62e74bb3d4dfa Mon Sep 17 00:00:00 2001 From: Alexander Marks Date: Thu, 30 May 2019 15:26:27 -0700 Subject: [PATCH] Add @suppress annotation for use of deprecated cssFromModules --- lib/elements/custom-style.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/elements/custom-style.js b/lib/elements/custom-style.js index f675393118..1a43b318e0 100644 --- a/lib/elements/custom-style.js +++ b/lib/elements/custom-style.js @@ -87,6 +87,7 @@ export class CustomStyle extends HTMLElement { const include = style.getAttribute(attr); if (include) { style.removeAttribute(attr); + /** @suppress {deprecated} */ style.textContent = cssFromModules(include) + style.textContent; } /*