6 ms·
I'm a little confused about when I'd use this, if I'm quickly iterating on code as I develop it, probably I also want to know whether it type checks, right?
by MBlume 2y ago
I'm a little confused about when I'd use this, if I'm quickly iterating on code as I develop it, probably I also want to know whether it type checks, right?
- umvi 2y agoTS language server will do that for you as go along
- NBJack 2y agoWouldn't that defeat the point of what static typing affords you? Before you "go along"?
- shepherdjerred 2y agoNo, during development your IDE will show you type errors and your dev server can ignore them. In CI tsc can type check. It's the best of all worlds: incorrect code will compile and work best-effort, you can see errors in your IDE, and CI will fail if it's incorrect.
- chpatrick 2y agoYou can have the code running in your browser instantly and have the typechecking happening in parallel while you develop.