[explicit-function-return-type] allowTypedFunctionExpressions flag should ignore class methods written as arrow functions #484
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
The
explicit-function-return-type
rule (withallowTypedFunctionExpressions=true
) should not complain/be triggered by the code above.Actual Result
I get the warning "Missing return type on function." for the private method
Versions
@typescript-eslint/eslint-plugin
1.7.0
@typescript-eslint/parser
1.7.0
TypeScript
3.4.5
ESLint
5.16.0
node
12.0.0
yarn
1.15.2
The text was updated successfully, but these errors were encountered: