Closed
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I have searched for related issues and found none that matched my issue.
- I have read the FAQ and my problem is not listed.
Playground Link
Repro Code
export class MapRegistry<K, T> {
public items = new Map<K, T>();
public [Symbol.iterator]() {
return this.items[Symbol.iterator]();
}
}
ESLint Config
{
"rules": {
"@typescript-eslint/prefer-promise-reject-errors": "error"
}
}
tsconfig
Expected Result
lint should pass
Actual Result
TypeError: Cannot convert a Symbol value to a string
Additional Info
8.5.0 works fine