We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af46b4b commit 8ce7e47Copy full SHA for 8ce7e47
src/test/domHook.ts
@@ -1,8 +1,9 @@
1
+/* eslint-disable @typescript-eslint/ban-types */
2
/* eslint-disable no-param-reassign */
3
const NO_EXIST = { __NOT_EXIST: true };
4
-export type ElementClass = (...params: any[]) => void;
5
-export type Property = PropertyDescriptor | ((...params: any[]) => void);
+export type ElementClass = Function;
6
+export type Property = PropertyDescriptor | Function;
7
8
export function spyElementPrototypes<T extends ElementClass>(
9
elementClass: T,
0 commit comments