Skip to content

Commit 18b8dd9

Browse files
committed
updated ErrorConfig interface
1 parent 6bb3e29 commit 18b8dd9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/index.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@ const isObject = d => Object.prototype.toString.call(d) === '[object Object]';
77
export interface ErrorConfig {
88
message: string;
99
time_thrown?: string;
10-
data?: any,
11-
options?: any,
10+
data?: any;
11+
options?: {
12+
showPath?: boolean;
13+
showLocations?: boolean;
14+
},
1215
}
1316

1417
export interface ErrorInfo {

0 commit comments

Comments
 (0)