doipjs/node_modules/assertion-error/index.d.ts
Yarmo Mackenbach e996bc8023 Initial commit
2020-10-23 22:35:53 +02:00

11 lines
275 B
TypeScript

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;