tcompare
Version:
A comprehensive comparison library, for use in test frameworks
15 lines • 502 B
TypeScript
import { Same } from './same.js';
/**
* The same as {@link tcompare!same.Same}, but ignore any fields present in the
* test object and not present in the expect pattern.
*/
export declare class Has extends Same {
simpleMatch(): void;
isArray(): boolean;
getPojoEntries(obj: any): [PropertyKey, any][];
printMapEntryUnexpected(_key: any, _val: any): void;
get objectAsArray(): any[] | null;
printErrorBody(): void;
printSetBody(): void;
}
//# sourceMappingURL=has.d.ts.map