UNPKG

alsatian

Version:

TypeScript and JavaScript testing framework for beautiful and readable tests

7 lines (6 loc) • 409 B
import { MatcherOrType } from "./matcher-or-type"; import { MatcherArgument } from "./matcher-argument"; import { ISpyMatcher } from "./spy-matcher.i"; export declare class InterfaceMatcher<ExpectedType extends object> implements ISpyMatcher<ExpectedType> { thatMatches<Key extends keyof ExpectedType>(first: MatcherArgument<ExpectedType, Key>, second?: ExpectedType[Key]): MatcherOrType<ExpectedType>; }