3 ms·
You compile ts without type checking when the options to do so are 10x+ faster than with type checking.
by postalrat 5y ago
You compile ts without type checking when the options to do so are 10x+ faster than with type checking.
- pjmlp 5y agoI really don't get this, when I save my TS files they are already compiled into JS on the fly, ready to fed into a <script />.
- recursive 5y agoBy what? What if they were updated from an upstream repo, and never saved from an editor? What if you change branches without an upstream repo?
- pjmlp 5y agoBy VS and VSCode, the IDE/editor that belongs to the same company that does TypesScript. If I really need to call tsc explicitly, the few seconds that I have to wait, versus the minutes on some other languages, won't make me lose sleep over it.