markscript-core
Version:
A library for building JavaScript or TypeScript projects with MarkLogic.
15 lines (13 loc) • 555 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;
}