diff --git a/src/entries/dom-api.js b/src/entries/dom-api.js index 120afed..e9f3159 100644 --- a/src/entries/dom-api.js +++ b/src/entries/dom-api.js @@ -1,3 +1,8 @@ import {document as lightJsDocument} from '@litejs/dom'; +import {CSSStyleDeclaration} from '@litejs/dom/css'; + +CSSStyleDeclaration.prototype.setProperty = function(key, value) { + this[key] = value; +}; export const document = lightJsDocument; \ No newline at end of file