fix jest/jest.d.ts

This commit is contained in:
vvakame 2014-10-07 15:19:31 +09:00
parent e2dedd4f9b
commit 08cdb4a903

1
jest/jest.d.ts vendored
View File

@ -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>;