Skip to content

Commit eb2baf6

Browse files
authored
Merge pull request #15 from coldrye-collaboration/gh-14
fix #14
2 parents faa3f8c + 6078fd9 commit eb2baf6

File tree

4 files changed

+643
-602
lines changed

4 files changed

+643
-602
lines changed

index.d.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
type AssertionError<T = {}> = Error & T & {
2-
showDiff: boolean;
3-
};
1+
declare class AssertionError<T = {}> extends Error {
42

5-
interface AssertionErrorConstructor {
6-
new<T = {}>(message: string, props?: T, ssf?: Function): AssertionError<T>;
7-
}
3+
public constructor(message: string, props?: T, ssf?: Function);
4+
5+
public toJSON(stack?: any): any;
86

9-
declare const AssertionError: AssertionErrorConstructor;
7+
[key: string]: any;
8+
}
109

1110
export = AssertionError;

0 commit comments

Comments
 (0)