-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[@typescript-eslint/consistent-indexed-object-style] Fails on circular references #2687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@papb I'm interested to work on this issue, so I have to put up a condition to check if the value type is same as the node type. |
Hi @lakshyabatman! Thank you! I think so, yes. |
This comment has been minimized.
This comment has been minimized.
With any issue in opened in this project - it either has a visible progress in the form of an attached PR, or it has no progress. We are a community run project. The volunteer maintainers spend most of their time triaging issues and reviewing PRs. This means that most issues will not progress unless a member of the community steps up and champions it. If this issue is important to you - consider being that champion. If not - please just subscribe to the issue and wait patiently. |
I've linked the issue above in the TypeScript repo which is currently still open. |
Repro
Expected Result
Since it is not possible to convert that to a Record, the rule should not trigger.
Actual Result
The rule triggered.
Additional Info
Versions
@typescript-eslint/eslint-plugin
@typescript-eslint/parser
TypeScript
4.0.2
ESLint
node
The text was updated successfully, but these errors were encountered: