Skip to content

Commit 95b696f

Browse files
committed
feat(core/dom): update type define of push and insert
1 parent 7194964 commit 95b696f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/dom/dom-types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ export interface FastjsDomAPI<ElementType extends ElementList> {
9797
setAttr(attr: { [key: string]: string | null }): FastjsDom<ElementType>;
9898
setAttr(key: string, val: string | null): FastjsDom<ElementType>;
9999
push<T extends PushTarget>(
100-
el: HTMLElement | FastjsDomList | FastjsDom,
100+
el: ElementList | FastjsDomList | FastjsDom,
101101
target: T,
102102
clone?: boolean
103103
): PushReturn<T, ElementType>;
104104
insert<T extends InsertTarget>(
105-
el: HTMLElement | FastjsDomList | FastjsDom,
105+
el: ElementList | FastjsDomList | FastjsDom,
106106
target: T,
107107
clone?: boolean
108108
): InsertReturn<ElementType>;

0 commit comments

Comments
 (0)