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

declare global {
    namespace Chai {
        interface LanguageChains {
            always: Assertion;
        }

        interface Assertion {
            (message?: string): Assertion;
            ensure: Assertion;
        }

        interface PromisedAssertion extends Eventually, PromiseLike<any> {
            (message?: string): PromisedAssertion;
            ensure: PromisedAssertion;
        }
    }
}

declare const dirtyChai: Chai.ChaiPlugin;
export = dirtyChai;

````

### Additional Details
 * Last updated: Wed, 28 Aug 2024 05:07:31 GMT
 * Dependencies: [@types/chai](https://npmjs.com/package/@types/chai), [@types/chai-as-promised](https://npmjs.com/package/@types/chai-as-promised)

# Credits
These definitions were written by [Piotr Roszatycki](https://github.com/dex4er).
