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

1.3.2 • 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.

index.d.ts

/// <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 = chaiHtml;

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: @types/chai

Credits

These definitions were written by Alex.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/chai-html

Weekly Downloads

596

Version

1.3.2

License

MIT

Unpacked Size

3.38 kB

Total Files

5

Last publish

Collaborators

  • types