UNPKG

409 BTypeScriptView Raw
1import { MatcherOrType } from "./matcher-or-type";
2import { MatcherArgument } from "./matcher-argument";
3import { ISpyMatcher } from "./spy-matcher.i";
4export declare class InterfaceMatcher<ExpectedType extends object> implements ISpyMatcher<ExpectedType> {
5 thatMatches<Key extends keyof ExpectedType>(first: MatcherArgument<ExpectedType, Key>, second?: ExpectedType[Key]): MatcherOrType<ExpectedType>;
6}