New rule idea: no explicit array method callback argument types #11862
Closed
ipanasenko
started this conversation in
Technical Discussions
Replies: 1 comment 1 reply
-
|
As per our contributing guide for discussions (which you ticked as having read) we don't use discussions for feature requests. https://typescript-eslint.io/contributing/discussions If you're interested in discussing further please file an issue. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Body
Hello.
I see from time to time people add types to array methods callback arguments manually, e.g.:
I think this is pretty much redundant, because TS knows the type of
item.This potentially could be a new rule, or an update to an exisiting one (couldn't figure out which one would suit best though).
What do you think?
Additional Info
Any additional info...
Before you submit your discussion, please confirm the following. If any of these required steps are not taken, we may not be able to review your RFC. Help us to help you!
Beta Was this translation helpful? Give feedback.
All reactions