mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
fix jest/jest.d.ts
This commit is contained in:
parent
e2dedd4f9b
commit
08cdb4a903
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>;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user