[no-type-alias] False positive with constructor aliases #1191
Labels
bug
Something isn't working
good first issue
Good for newcomers
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
Expected Result
No warning because allowCallbacks is set to always
Actual Result
1:26 error Type unhandled are not allowed @typescript-eslint/no-type-alias
Additional Info
If the new is removed then this code passes without errors, so I presume it is because constructors are not handled. It is possible that this should be a new option (allowConstructors) rather than rolled into allowCallbacks.
Versions
The text was updated successfully, but these errors were encountered: