Skip to content

Commit

Permalink
Add @Suppress annotation for use of deprecated cssFromModules
Browse files Browse the repository at this point in the history
  • Loading branch information
aomarks committed May 30, 2019
1 parent cdd4e20 commit 54b1d78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/elements/custom-style.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
/*
Expand Down

0 comments on commit 54b1d78

Please sign in to comment.