parcoursup/node_modules/assertion-error/index.d.ts

12 lines
275 B
TypeScript
Raw Normal View History

2023-03-05 13:23:23 +01:00
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;