版博士V2.0程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
275 B

  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;