diff --git a/src/style/styled.ts b/src/style/styled.ts index d92b2795..f3c93144 100644 --- a/src/style/styled.ts +++ b/src/style/styled.ts @@ -66,10 +66,12 @@ const localHigh = document.createElement("meta"); localHigh.name = "local-high-style"; document.head.appendChild(localHigh); +// export type IStyleFragment = Partial; + class StyleFragment { static newStyle( { selector = "", content = ""}) { - return new StyleFragment( { selector, content }) + return new StyleFragment( { selector, content }) as Partial; } private selector: string;