Skip to content

Commit

Permalink
feat(core/dom): update type define of push and insert
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaodong2008 committed Jul 14, 2024
1 parent 7194964 commit 95b696f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/dom/dom-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ export interface FastjsDomAPI<ElementType extends ElementList> {
setAttr(attr: { [key: string]: string | null }): FastjsDom<ElementType>;
setAttr(key: string, val: string | null): FastjsDom<ElementType>;
push<T extends PushTarget>(
el: HTMLElement | FastjsDomList | FastjsDom,
el: ElementList | FastjsDomList | FastjsDom,
target: T,
clone?: boolean
): PushReturn<T, ElementType>;
insert<T extends InsertTarget>(
el: HTMLElement | FastjsDomList | FastjsDom,
el: ElementList | FastjsDomList | FastjsDom,
target: T,
clone?: boolean
): InsertReturn<ElementType>;
Expand Down

0 comments on commit 95b696f

Please sign in to comment.