# Installation
> `npm install --save @types/jasmine-promise-matchers`

# Summary
This package contains type definitions for jasmine-promise-matchers (https://github.com/bvaughn/jasmine-promise-matchers).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jasmine-promise-matchers.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jasmine-promise-matchers/index.d.ts)
````ts
/// <reference types="jasmine" />

declare function installPromiseMatchers(): void;

declare namespace jasmine {
    interface Matchers<T> {
        /**
         * Verifies that a value is a $q Promise.
         */
        toBePromise(): boolean;

        /**
         * Verifies that a Promise is (or has been) rejected.
         */
        toBeRejected(): boolean;

        /**
         * Verifies that a Promise is (or has been) rejected with the specified parameter.
         */
        toBeRejectedWith(value: any): boolean;

        /**
         * Verifies that a Promise is (or has been) resolved.
         */
        toBeResolved(): boolean;

        /**
         * Verifies that a Promise is (or has been) resolved with the specified parameter.
         */
        toBeResolvedWith(value: any): boolean;
    }
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: [@types/jasmine](https://npmjs.com/package/@types/jasmine)

# Credits
These definitions were written by [Matthew Hill](https://github.com/matthewjh).
