Skip to content

Commit

Permalink
fix: #754 typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
JiHong88 committed May 13, 2021
1 parent 2f1c895 commit dc3660e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/util.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ declare interface util {
* Only one condition can be entered at a time.
* @returns
*/
getParentElement(element: Node, query: TimerHandler): Element;
getParentElement(element: Node, query: string | Function): Element;

/**
* @description Get the child element of the argument value.
Expand All @@ -450,7 +450,7 @@ declare interface util {
* Only one condition can be entered at a time.
* @returns
*/
getChildElement(element: Node, query: TimerHandler, last: boolean): Element;
getChildElement(element: Node, query: string | Function, last: boolean): Element;

/**
* @description 1. The first node of all the child nodes of the "first" element is returned.
Expand Down Expand Up @@ -594,7 +594,7 @@ declare interface util {
* @param element Element object
* @param validation Validation function / String("tag1|tag2..") / If null, all tags are applicable.
*/
mergeNestedTags(element: Element, validation?: TimerHandler): void;
mergeNestedTags(element: Element, validation?: string | Function): void;

/**
* @description Delete a empty child node of argument element
Expand Down

0 comments on commit dc3660e

Please sign in to comment.