Skip to content

Commit 8ce7e47

Browse files
committed
fix: fix
1 parent af46b4b commit 8ce7e47

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/test/domHook.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
/* eslint-disable @typescript-eslint/ban-types */
12
/* eslint-disable no-param-reassign */
23
const NO_EXIST = { __NOT_EXIST: true };
34

4-
export type ElementClass = (...params: any[]) => void;
5-
export type Property = PropertyDescriptor | ((...params: any[]) => void);
5+
export type ElementClass = Function;
6+
export type Property = PropertyDescriptor | Function;
67

78
export function spyElementPrototypes<T extends ElementClass>(
89
elementClass: T,

0 commit comments

Comments
 (0)