From f59657e7a749dce43aead1dc64967c5f2eb2842d Mon Sep 17 00:00:00 2001 From: Vilmos Ioo Date: Sun, 29 Jan 2017 15:16:18 +0000 Subject: [PATCH] Updated argument type --- sinon/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sinon/index.d.ts b/sinon/index.d.ts index be0d3820bb..7c44ab9d7a 100644 --- a/sinon/index.d.ts +++ b/sinon/index.d.ts @@ -109,7 +109,7 @@ declare namespace Sinon { callsArgOnAsync(index: number, context: any): SinonStub; callsArgWithAsync(index: number, ...args: any[]): SinonStub; callsArgOnWithAsync(index: number, context: any, ...args: any[]): SinonStub; - callsFake(...args: any[]): SinonStub; + callsFake(func: (...args: any[]) => void): SinonStub; onCall(n: number): SinonStub; onFirstCall(): SinonStub; onSecondCall(): SinonStub;