@types/chai-html
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

Installation

npm install --save @types/chai-html

Summary

This package contains type definitions for chai-html (https://github.com/i-like-robots/chai-html).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-html.

/// <reference types="chai" />

declare global {
    namespace Chai {
        interface Assertion {
            html: ChaiHtml.HtmlAssertion;
        }
    }
}

declare namespace ChaiHtml {
    interface HtmlAssertion extends Chai.Assertion {
        ignoringComments: Chai.Assertion;
    }
}

declare const chaiHtml: Chai.ChaiPlugin;
declare namespace chaiHtml {}
export default chaiHtml;

Additional Details

  • Last updated: Tue, 24 Sep 2024 19:07:24 GMT
  • Dependencies: @types/chai

Credits

These definitions were written by Alex.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/chai-html

Weekly Downloads

1,404

Version

3.0.0

License

MIT

Unpacked Size

3.41 kB

Total Files

5

Last publish

Collaborators

  • types