|
11 ماه پیش | |
---|---|---|
.. | ||
LICENSE | 11 ماه پیش | |
README.md | 11 ماه پیش | |
index.d.ts | 11 ماه پیش | |
package.json | 11 ماه پیش |
npm install --save @types/chai-subset
This package contains type definitions for chai-subset (https://github.com/debitoor/chai-subset).
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;
These definitions were written by Sam Noedel, and Andrew Brown.