npm install --save @types/chai-html
This package contains type definitions for chai-html (https://github.com/i-like-robots/chai-html).
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;
- Last updated: Tue, 24 Sep 2024 19:07:24 GMT
- Dependencies: @types/chai
These definitions were written by Alex.