index.d.ts 275 B

1234567891011
  1. type AssertionError<T = {}> = Error & T & {
  2. showDiff: boolean;
  3. };
  4. interface AssertionErrorConstructor {
  5. new<T = {}>(message: string, props?: T, ssf?: Function): AssertionError<T>;
  6. }
  7. declare const AssertionError: AssertionErrorConstructor;
  8. export = AssertionError;