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

0.3.5 • Public • Published

Installation

npm install --save @types/chai-xml

Summary

This package contains type definitions for chai-xml (https://github.com/krampstudio/chai-xml).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-xml.

index.d.ts

/// <reference types="chai" />

declare global {
    namespace Chai {
        interface Assertion {
            xml: ChaiXml.XmlAssertion;
        }
    }
}

declare namespace ChaiXml {
    interface XmlAssertion extends Chai.Assertion {
        valid(): XmlAssertion;

        not: XmlAssertion;
        to: XmlAssertion;
        be: XmlAssertion;
        been: XmlAssertion;
        is: XmlAssertion;
        that: XmlAssertion;
        which: XmlAssertion;
        and: XmlAssertion;
        has: XmlAssertion;
        have: XmlAssertion;
        with: XmlAssertion;
        at: XmlAssertion;
        of: XmlAssertion;
        same: XmlAssertion;
    }
}

declare const chaiXml: Chai.ChaiPlugin;
export = chaiXml;

Additional Details

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

Credits

These definitions were written by Jeff Goddard.

/@types/chai-xml/

    Package Sidebar

    Install

    npm i @types/chai-xml

    Weekly Downloads

    4,767

    Version

    0.3.5

    License

    MIT

    Unpacked Size

    4.04 kB

    Total Files

    5

    Last publish

    Collaborators

    • types