mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-18 04:24:30 +08:00
fix jest/jest.d.ts
This commit is contained in:
1
jest/jest.d.ts
vendored
1
jest/jest.d.ts
vendored
@@ -63,6 +63,7 @@ declare module jest {
|
||||
|
||||
interface Mock<T> {
|
||||
new(): T;
|
||||
(...args:any[]): any; // TODO please fix this line! added for TypeScript 1.1.0-1 https://github.com/borisyankov/DefinitelyTyped/pull/2932
|
||||
mock: MockContext<T>;
|
||||
mockClear(): void;
|
||||
mockImplementation(fn: Function): Mock<T>;
|
||||
|
||||
Reference in New Issue
Block a user