mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-02 12:00:51 +08:00
15 lines
551 B
TypeScript
15 lines
551 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/borisyankov/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;
|
|
}
|