UNPKG

545 BTypeScriptView Raw
1// Type definitions for chai-subset 1.0.0
2// Project: https://github.com/e-conomic/chai-subset
3// Definitions by: Sam Noedel <https://github.com/delta62/>, Andrew Brown <https://github.com/AGBrown>
4// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5
6/// <reference types="chai" />
7
8declare namespace Chai {
9 interface Assertion {
10 containSubset(obj: Object): Assertion;
11 }
12}
13
14declare module "chai-subset" {
15 function chaiSubset(chai: any, utils: any): void;
16 namespace chaiSubset {}
17 export = chaiSubset;
18}