Open
Description
As is evidenced by the original version of this issue, I was very surprised to learn that by default, tsimp will run the script even if there are compilation errors. I think this is a poor default that should be reconsidered.
Original title and description
simp runs the script even when there is a compilation error
Here's what the output looks like:
> node --import=tsimp/import src/scripts/validate-json.ts
src/scripts/validate-json.ts:56:24 - error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'.
56 console.log(parseFloat(3));
~
<Regular program output>
Metadata
Metadata
Assignees
Labels
No labels
Activity