[type-annotation-spacing] Throws Error on Constructor Interface Pattern #1669
Labels
duplicate
This issue or pull request already exists
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
I am using the default settings for this rule. ie spaces before and after arrows in functions needed and space after a colon is needed. You can recreate these rules with the following setup.
Expected Result
The rule should pass as theres a space before and after the arrows on the constructor interfaces.
Actual Result
error Unexpected space before the '=>' @typescript-eslint/type-annotation-spacing
Additional Info
Versions
@typescript-eslint/eslint-plugin
2.22.0
@typescript-eslint/parser
2.22.0
TypeScript
3.8.3
ESLint
6.6.0
node
12.4.1
npm
6.14.1
The text was updated successfully, but these errors were encountered: