[no-invalid-void-type] Intersection with never
should be allowed
#1946
Labels
enhancement: plugin rule option
New rule option for an existing eslint-plugin rule
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
Expected Result
That the no-invalid-void-type does not complain about the
void | never
union.Actual Result
Versions
@typescript-eslint/eslint-plugin
2.30.0
@typescript-eslint/parser
2.30.0
TypeScript
3.9.0-dev.20200419
ESLint
6.8.0
node
13.6.0
npm
6.14.4
The text was updated successfully, but these errors were encountered: