Skip to content

Commit

Permalink
fix: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
li-jia-nan committed Dec 25, 2024
1 parent af46b4b commit 8ce7e47
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/test/domHook.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/* eslint-disable @typescript-eslint/ban-types */
/* eslint-disable no-param-reassign */
const NO_EXIST = { __NOT_EXIST: true };

export type ElementClass = (...params: any[]) => void;
export type Property = PropertyDescriptor | ((...params: any[]) => void);
export type ElementClass = Function;
export type Property = PropertyDescriptor | Function;

export function spyElementPrototypes<T extends ElementClass>(
elementClass: T,
Expand Down

0 comments on commit 8ce7e47

Please sign in to comment.