Comment on Ask HN: Which TypeScript codebase should I study to get better?parentComments−sciolistse8yTSLint has this: https://palantir.github.io/tslint/rules/strict-boolean-expre...It doesn't play well with the vscode tslint extension for some reason (doesn't show up at all) so you need to run tslint manually to see the errors.. but it's better than nothing.−recursive8yBut that also includes operands to !, so you wouldn't be able to use !! to bool-ify something.
Comments
TSLint has this: https://palantir.github.io/tslint/rules/strict-boolean-expre...
It doesn't play well with the vscode tslint extension for some reason (doesn't show up at all) so you need to run tslint manually to see the errors.. but it's better than nothing.
But that also includes operands to !, so you wouldn't be able to use !! to bool-ify something.