Skip to content

Commit ab74519

Browse files
committed
Export Recoverable instance
1 parent 2248814 commit ab74519

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

6.0/node.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,6 +1131,11 @@ declare module "repl" {
11311131
writer?: Function;
11321132
}
11331133
export function start(options: ReplOptions): events.EventEmitter;
1134+
1135+
export class Recoverable extends SyntaxError {
1136+
err: Error;
1137+
constructor (err: Error);
1138+
}
11341139
}
11351140

11361141
declare module "readline" {

0 commit comments

Comments
 (0)