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.