[explicit-function-return-type] Conflicts with typescript rule on setters #525
Labels
bug
Something isn't working
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
Expected Result
No error. Adding an explicit return type causes the following TS error:
A 'set' accessor cannot have a return type annotation.ts(1095)
Actual Result
Missing return type on function.eslint(@typescript-eslint/explicit-function-return-type)
Additional Info
Versions
@typescript-eslint/eslint-plugin
1.7.0
@typescript-eslint/parser
1.7.0
TypeScript
3.4.5
ESLint
5.3.0
node
10.15.3
npm
6.9.0
The text was updated successfully, but these errors were encountered: