File: index.d.ts

package info (click to toggle)
node-assertion-error 1.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 216 kB
  • sloc: javascript: 129; makefile: 24
file content (11 lines) | stat: -rw-r--r-- 275 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
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;