[@typescript-eslint/explicit-function-return-type] Inconsistent on arrow functions #1009
Labels
bug
Something isn't working
good first issue
Good for newcomers
has pr
there is a PR raised to close this
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
Expected Result
No errors.
Actual Result
Error:
Additional Info
The line commented with
// 1) ERROR
cause the error, while the line commented with// 2) WORK AS EXPECTED
work as expected. It don't seems consistent.Versions
@typescript-eslint/eslint-plugin
2.3.1
@typescript-eslint/parser
2.3.1
TypeScript
3.6.2
ESLint
6.4.0
node
10.16.3
npm
6.11.3
The text was updated successfully, but these errors were encountered: