mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-30 10:22:40 +08:00
18 lines
475 B
TypeScript
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;
|
|
}
|
|
}
|