[no-inferrable-types] Boolean initialized to null tagged as inferrable #321
Labels
bug
Something isn't working
has pr
there is a PR raised to close this
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
Expected Result
No violations
Actual Result
myBool is tagged as inferrable
Additional Info
I know
strictNullTypes
should be used to make this more explicit, but if it's not enabled, should null-initialized booleans be flagged as inferrable?Versions
@typescript-eslint/eslint-plugin
1.3.0
@typescript-eslint/parser
1.3.0
TypeScript
3.3.3
ESLint
5.12.0
node
8.10.0
The text was updated successfully, but these errors were encountered: