index.d.ts 275 Bytes
Newer Older
Rosanny Sihombing's avatar
Rosanny Sihombing committed
1
2
3
4
5
6
7
8
9
10
11
type AssertionError<T = {}> = Error & T & {
    showDiff: boolean;
};

interface AssertionErrorConstructor {
    new<T = {}>(message: string, props?: T, ssf?: Function): AssertionError<T>;
}

declare const AssertionError: AssertionErrorConstructor;

export = AssertionError;