mirror of
https://github.com/arthur-pbty/portfolio2023.git
synced 2026-06-04 15:56:24 +02:00
12 lines
275 B
TypeScript
12 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;
|