Skip to content

Commit 40d0c86

Browse files
committed
chore: remove vitest global types
1 parent 757bad8 commit 40d0c86

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

global.d.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,4 @@ declare namespace jest {
2929
}
3030
}
3131

32-
declare const vi: {
33-
fn: <T extends (...args: any[]) => any = (...args: any[]) => any>(
34-
implementation?: T,
35-
) => jest.MockedFunction<T>;
36-
mock: (moduleName: string, factory?: (importOriginal: <T>() => Promise<T>) => unknown) => void;
37-
spyOn: typeof jest.spyOn;
38-
useFakeTimers: () => void;
39-
useRealTimers: () => void;
40-
advanceTimersByTime: (msToRun: number) => void;
41-
clearAllTimers: () => void;
42-
runAllTimers: () => void;
43-
importActual: <T>(moduleName: string) => Promise<T>;
44-
clearAllMocks: () => void;
45-
resetAllMocks: () => void;
46-
restoreAllMocks: () => void;
47-
};
48-
4932
declare module 'moment/locale/zh-cn';

0 commit comments

Comments
 (0)