From 6e7d83167d86d857817bd492786f8304f5c4a0e4 Mon Sep 17 00:00:00 2001 From: Tim Kindberg Date: Tue, 27 Oct 2015 10:34:16 -0400 Subject: [PATCH] Add returnsThis method to SinonStub --- sinon/sinon.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/sinon/sinon.d.ts b/sinon/sinon.d.ts index fec30d70d..4e23ee650 100644 --- a/sinon/sinon.d.ts +++ b/sinon/sinon.d.ts @@ -92,6 +92,7 @@ declare module Sinon { resetBehavior(): void; returns(obj: any): SinonStub; returnsArg(index: number): SinonStub; + returnsThis(): SinonStub; throws(type?: string): SinonStub; throws(obj: any): SinonStub; callsArg(index: number): SinonStub;