Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@types/chai-subset) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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: 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.