2 ms·
Catching syntax errors is the realm of linters, but if you don't have a linter, the parse phase will immediately tell you that you messed up.
by hajile 6y ago
Catching syntax errors is the realm of linters, but if you don't have a linter, the parse phase will immediately tell you that you messed up.
- Vinnl 6y agoThat's interesting, cause you mentioned the JS runtime earlier. In any case, unless you'd argue that you never get a single runtime error, I'd encourage you to take a moment every time you encounter one whether that could have been caught by TypeScript. In my experience, that is the case more often than you might think.