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