1 | import { MatcherOrType } from "./matcher-or-type";
|
2 | export interface ISpyMatcher<ExpectedType extends object> {
|
3 | thatMatches<Key extends keyof ExpectedType>(key: Key, value: ExpectedType[Key]): MatcherOrType<ExpectedType>;
|
4 | thatMatches(properties: Partial<ExpectedType>): MatcherOrType<ExpectedType>;
|
5 | thatMatches(delegate: (argument: ExpectedType) => boolean): MatcherOrType<ExpectedType>;
|
6 | }
|