Skip to content

Commit 9e73deb

Browse files
authored
Update web_src/js/utils/dom.ts
1 parent acdc1aa commit 9e73deb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/utils/dom.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ type ArrayLikeIterable<T> = ArrayLike<T> & Iterable<T>; // for NodeListOf and Ar
77
type ElementArg = Element | string | ArrayLikeIterable<Element> | ReturnType<typeof $>;
88
type ElementsCallback<T extends Element> = (el: T) => Promisable<any>;
99
type ElementsCallbackWithArgs = (el: Element, ...args: any[]) => Promisable<any>;
10-
export type DOMEvent<E extends Event, T extends Element = HTMLElement> = E & {target: Partial<T>};
10+
export type DOMEvent<E extends Event, T extends Element = HTMLElement> = E & { target: Partial<T>; };
1111

1212
function elementsCall(el: ElementArg, func: ElementsCallbackWithArgs, ...args: any[]) {
1313
if (typeof el === 'string' || el instanceof String) {

0 commit comments

Comments
 (0)