fix: add interface ShadowRootployfill

This commit is contained in:
yuqing521 2021-06-23 19:02:55 +08:00
parent 3f7bbfd21f
commit ead0e44895
1 changed files with 5 additions and 0 deletions

View File

@ -164,6 +164,11 @@ declare namespace Omi {
...children: ComponentChildren[]
): VNode<any>;
interface ShadowRootPloyfill extends ShadowRoot {
adoptedStyleSheets : CSSStyleSheet;
}
function render(vnode: ComponentChild, parent: string | Element | Document | ShadowRoot | DocumentFragment, store?: object): any;
function define(name: string, ctor: WeElementConstructor, cssStringOrOptions?: string | object): void;