From 8770eab1aac67f4513d2a7f5e0f2b93a7625c4e4 Mon Sep 17 00:00:00 2001 From: Farokhcpu Date: Thu, 8 Dec 2016 17:14:05 +0100 Subject: [PATCH] fixing signature of sinon/alwaysReturned based on the http://sinonjs.org/docs/#sinonspy --- sinon/sinon.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sinon/sinon.d.ts b/sinon/sinon.d.ts index 69647534de..ba7256ab79 100644 --- a/sinon/sinon.d.ts +++ b/sinon/sinon.d.ts @@ -76,7 +76,7 @@ declare namespace Sinon { alwaysThrew(): boolean; alwaysThrew(type: string): boolean; alwaysThrew(obj: any): boolean; - alwaysReturned(): boolean; + alwaysReturned(obj: any): boolean; invokeCallback(...args: any[]): void; getCall(n: number): SinonSpyCall; reset(): void;