Hacker News new | ask | show | jobs
by seniorsassycat 1891 days ago
I recommend adding `--transpile-only` to `ts-node` in npm scripts and any interactive workflows. If you have type checking in your editor or tsc --watch in a terminal you don't need to block unit tests or iterative development while ts-node runs type checks.
1 comments

I disagree, I don't want my project to successfully build at all if I have type errors.
I block commit, push, and release workflows by lint, type errors, and test, but I don't block running tests or running my program.