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

1.3.5 • Public • Published

Installation

npm install --save @types/chai-subset

Summary

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

Details

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

index.d.ts

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

declare global {
    namespace Chai {
        interface Assertion {
            containSubset(expected: any): Assertion;
        }
        interface Assert {
            containSubset(val: any, exp: any, msg?: string): void;
        }
    }
}

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

Additional Details

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

Credits

These definitions were written by Sam Noedel, and Andrew Brown.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/chai-subset

Weekly Downloads

1,537,729

Version

1.3.5

License

MIT

Unpacked Size

3.5 kB

Total Files

5

Last publish

Collaborators

  • types