mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
26 lines
629 B
TypeScript
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;
|