1 | export declare class Matcher<T> {
|
2 | protected get actualValue(): T;
|
3 | protected get shouldMatch(): boolean;
|
4 | get not(): this;
|
5 | private _actualValue;
|
6 | private _shouldMatch;
|
7 | constructor(actualValue: T);
|
8 | toBe(expectedValue: T): void;
|
9 | toEqual(expectedValue: any): void;
|
10 | toBeDefined(): void;
|
11 | toBeNull(): void;
|
12 | toBeTruthy(): void;
|
13 | protected _registerMatcher(isMatch: boolean, failureMessage: string, expectedValue: any, extras?: {
|
14 | [prop: string]: any;
|
15 | }): void;
|
16 | protected _checkTypeMatcherEqual(expected: any, alternativeCheck: (expectedValue: T) => void): void;
|
17 | private toEqualCheck;
|
18 | }
|