diff --git a/sinon/sinon.d.ts b/sinon/sinon.d.ts index f8bed61b03..4b86566619 100644 --- a/sinon/sinon.d.ts +++ b/sinon/sinon.d.ts @@ -101,6 +101,10 @@ interface SinonStub extends SinonSpy { callsArgOnAsync(index: number, context: any): SinonStub; callsArgWithAsync(index: number, ...args: any[]): SinonStub; callsArgOnWithAsync(index: number, context: any, ...args: any[]): SinonStub; + onCall(n: number): SinonStub; + onFirstCall(): SinonStub; + onSecondCall(): SinonStub; + onThirdCall(): SinonStub; yields(...args: any[]): SinonStub; yieldsOn(context: any, ...args: any[]): SinonStub; yieldsTo(property: string, ...args: any[]): SinonStub;