mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 20:39:17 +08:00
21 lines
619 B
TypeScript
21 lines
619 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;
|