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

1.3.6 • 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.

/// <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: Wed, 05 Mar 2025 19:02:12 GMT
  • Dependencies: none
  • Peer 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,022,012

Version

1.3.6

License

MIT

Unpacked Size

3.56 kB

Total Files

5

Last publish

Collaborators

  • types