Skip to content

Commit 54b1d78

Browse files
committed
Add @Suppress annotation for use of deprecated cssFromModules
1 parent cdd4e20 commit 54b1d78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/elements/custom-style.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ export class CustomStyle extends HTMLElement {
8787
const include = style.getAttribute(attr);
8888
if (include) {
8989
style.removeAttribute(attr);
90+
/** @suppress {deprecated} */
9091
style.textContent = cssFromModules(include) + style.textContent;
9192
}
9293
/*

0 commit comments

Comments
 (0)