Closed
Description
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I have read the FAQ and my problem is not listed.
Repro
{
"rules": {
"@typescript-eslint/explicit-module-boundary-types": "error"
}
}
export abstract class SomeClass<T> {
abstract set value(element: T);
}
https://github.com/ljosberinn/explicit-module-boundary-types-bug
Expected Result
The rule should never expect a return type of a setter to be declared.
Actual Result
The rule expects a return type which is a compiler error.
Additional Info
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin |
3.9.1 |
@typescript-eslint/parser |
3.9.1 |
TypeScript |
3.9.7 |
ESLint |
7.7.0 |
node |
--- |