# @types/jasmine-es6-promise-matchers

> TypeScript definitions for jasmine-es6-promise-matchers

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

## Install

```sh
npm install @types/jasmine-es6-promise-matchers
pnpm add @types/jasmine-es6-promise-matchers
yarn add @types/jasmine-es6-promise-matchers
bun add @types/jasmine-es6-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.36 |
| 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.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51440 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 0.0.36 (latest) — 2023-11-07
- 0.0.33 (ts3.0) — 2020-05-15
- 0.0.32 (ts2.8) — 2018-11-05
- 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.35 — 2023-10-18
- 0.0.34 — 2023-09-15
- 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
- 0.0.22-alpha — 2016-07-01
- … 4 more at https://npm.io/package/@types/jasmine-es6-promise-matchers/versions

## README

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

declare namespace JasminePromiseMatchers {
    export function install(): void;
    export function uninstall(): void;
}

declare namespace jasmine {
    interface Matchers<T> {
        /**
         * Verifies that a Promise is (or has been) rejected.
         */
        toBeRejected(done?: () => void): boolean;

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

        /**
         * Verifies that a Promise is (or has been) resolved.
         */
        toBeResolved(done?: () => void): boolean;

        /**
         * Verifies that a Promise is (or has been) resolved with the specified parameter.
         */
        toBeResolvedWith(value: any, done?: () => void): 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 [Stephen Lautier](https://github.com/stephenlautier).

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