ts-node icon indicating copy to clipboard operation
ts-node copied to clipboard

REPL recovery codes for third-party transpilers

Open cspotcode opened this issue 3 years ago • 0 comments

The REPL classifies certain TS diagnostic codes as recoverable, allowing multiline input in the REPL.

Third-party transpilers can be granted the ability to classify their own errors as recoverable. Can be exposed as a new, optional method on the transpiler: isRecoverable(error): boolean

cspotcode avatar Mar 20 '22 19:03 cspotcode