UNPKG

earljs

Version:

Ergonomic, modern and type-safe assertion library

11 lines (10 loc) 415 B
import { Matcher } from './Base'; export declare class ArrayWithMatcher<T> extends Matcher { private readonly expectedItems; constructor(expectedItems: ReadonlyArray<T>); check(actualItems: unknown): boolean; toString(): string; static make<T>(...items: T[]): T[]; } /** @internal */ export declare function contains(expectedItems: ReadonlyArray<any>, actualItems: ReadonlyArray<any>): boolean;