There were a lot of imports in files I hadn't switched from require()s to imports yet, which is what triggers type checking. So once the linter caught all those and I took the time to fix them, we get much better type checking all over.
npm run lint to lint things. Travis will do it for you too.
Add https://palantir.github.io/tslint
Follow all the things it says are "recommended".
There were a lot of imports in files I hadn't switched from
require()
s toimports
yet, which is what triggers type checking. So once the linter caught all those and I took the time to fix them, we get much better type checking all over.npm run lint
to lint things. Travis will do it for you too.