diff --git a/packages/core/src/dom/dom-types.ts b/packages/core/src/dom/dom-types.ts index afad849a0..1b6b287cb 100644 --- a/packages/core/src/dom/dom-types.ts +++ b/packages/core/src/dom/dom-types.ts @@ -97,12 +97,12 @@ export interface FastjsDomAPI { setAttr(attr: { [key: string]: string | null }): FastjsDom; setAttr(key: string, val: string | null): FastjsDom; push( - el: HTMLElement | FastjsDomList | FastjsDom, + el: ElementList | FastjsDomList | FastjsDom, target: T, clone?: boolean ): PushReturn; insert( - el: HTMLElement | FastjsDomList | FastjsDom, + el: ElementList | FastjsDomList | FastjsDom, target: T, clone?: boolean ): InsertReturn;