3 ms·
To have nice prototyping & development I use it more like typechecker than compiler. I set "transpileOnly" for tsc loader and set different more strict command
by machiaweliczny 8y ago
To have nice prototyping & development I use it more like typechecker than compiler.
I set "transpileOnly" for tsc loader and set different more strict command like "npm typecheck" to "tsc --no-emit ./src/index.ts". I usually add only strict null checks and it's enough for me. I also disable most of tslint as it's way too heavy in standard CRA app for example.
This way you get hints from tsc in editor so you see what is wrong but at the same time you can run your app without fixing everything upfront.