# @types/jasmine-promise-matchers

> TypeScript definitions for jasmine-promise-matchers

Latest version **0.0.37** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/jasmine-promise-matchers
pnpm add @types/jasmine-promise-matchers
yarn add @types/jasmine-promise-matchers
bun add @types/jasmine-promise-matchers
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.37 |
| Published | 2023-11-07 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51449 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/jasmine-promise-matchers
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jasmine-promise-matchers
- npm.io page: https://npm.io/package/@types/jasmine-promise-matchers

## Dependencies (1)

- [@types/jasmine](https://npm.io/package/@types/jasmine.md) *

## Recent versions

- 0.0.37 (latest) — 2023-11-07
- 0.0.34 (ts3.0) — 2020-05-15
- 0.0.33 (ts2.8) — 2019-04-24
- 0.0.31 (ts2.3) — 2018-10-03
- 0.0.30 (ts2.1) — 2017-03-16
- 0.0.28 (ts2.0) — 2016-09-19
- 0.0.36 — 2023-10-18
- 0.0.35 — 2023-09-15
- 0.0.32 — 2018-11-05
- 0.0.29 — 2017-02-10
- 0.0.27 — 2016-07-14
- 0.0.26-alpha — 2016-07-08
- 0.0.25-alpha — 2016-07-04
- 0.0.24-alpha — 2016-07-02
- 0.0.23-alpha — 2016-07-01
- … 5 more at https://npm.io/package/@types/jasmine-promise-matchers/versions

## README

# 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).

---
_Source: https://npm.io/package/@types/jasmine-promise-matchers · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
