Files
DefinitelyTyped/types/chai-subset/index.d.ts
2017-08-20 15:37:53 -07:00

21 lines
618 B
TypeScript

// Type definitions for chai-subset 1.3
// Project: https://github.com/e-conomic/chai-subset
// Definitions by: Sam Noedel <https://github.com/delta62>, Andrew Brown <https://github.com/AGBrown>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="chai" />
declare global {
namespace Chai {
interface Assertion {
containSubset(expected: any): Assertion;
}
interface Assert {
containSubset(val: any, exp: any, msg?: string): void;
}
}
}
declare function chaiSubset(chai: any, utils: any): void;
export = chaiSubset;