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.