mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-26 14:15:57 +08:00
15 lines
559 B
TypeScript
15 lines
559 B
TypeScript
// Type definitions for should-promised
|
|
// Project: https://github.com/shouldjs/promised
|
|
// Definitions by: Yaroslav Admin <https://github.com/devoto13/>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
interface ShouldAssertion {
|
|
Promise: ShouldAssertion;
|
|
fulfilled(): ShouldAssertion;
|
|
rejected(): ShouldAssertion;
|
|
rejectedWith(message: (string | Function | RegExp), properties?: Object): ShouldAssertion;
|
|
rejectedWith(message: Object): ShouldAssertion;
|
|
finally: ShouldAssertion;
|
|
eventually: ShouldAssertion;
|
|
}
|