Files
DefinitelyTyped/sinon-stub-promise/sinon-stub-promise.d.ts
2016-03-17 21:06:54 +09:00

18 lines
475 B
TypeScript

// Type definitions for sinon-stub-promise v1.0.1
// Project: https://github.com/substantial/sinon-stub-promise
// Definitions by: Thiago Temple <https://github.com/vintem>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="../sinon/sinon.d.ts"/>
declare namespace Sinon {
interface SinonPromise {
resolves(value?: any): void;
rejects(value?: any): void;
}
interface SinonStub {
returnsPromise(): SinonPromise;
}
}