DefinitelyTyped/types/chai-html/index.d.ts
2020-04-06 13:46:41 -07:00

26 lines
629 B
TypeScript

// Type definitions for chai-html 1.3
// Project: https://github.com/i-like-robots/chai-html
// Definitions by: Alex <https://github.com/adjerbetian>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
/// <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;