diff --git a/jest/jest.d.ts b/jest/jest.d.ts index 52d09f99e6..dd051fcbc1 100644 --- a/jest/jest.d.ts +++ b/jest/jest.d.ts @@ -63,6 +63,7 @@ declare module jest { interface Mock { 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; mockClear(): void; mockImplementation(fn: Function): Mock;