[no-type-alias] eslint crashes when a type alias contains parentheses #575
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
The no-type-alias rule code crashes eslint with a stack trace when a type alias contains parentheses.
Repro
Note: removing the parentheses from the statement above does not produce a stack trace.
Expected Result
No stack trace. The no-type-alias rule should report linting violations.
Actual Result
A stack trace, and eslint does not output any violations.
Additional Info
Versions
@typescript-eslint/eslint-plugin
1.9.0
@typescript-eslint/parser
1.9.0
TypeScript
3.4.5
ESLint
5.16.0
node
8.10.0
npm
6.4.1
The text was updated successfully, but these errors were encountered: