This repository has been archived by the owner on Aug 18, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 209
Flow types used in explicit type arguments in function calls are reported as not being used #644
Comments
This was referenced Jul 5, 2018
existentialism
pushed a commit
to babel/babel
that referenced
this issue
Jul 5, 2018
| Q | A <!--(Can use an emoji 👍) --> | ------------------------ | --- | Fixed Issues? | Fixes #8272 <!-- remove the (`) quotes to link the issues --> | Patch: Bug Fix? | Yes | Major: Breaking Change? | | Minor: New Feature? | | Tests Added + Pass? | Yes | Documentation PR | <!-- If so, add `[skip ci]` to your commit message to skip CI --> | Any Dependency Changes? | | License | MIT The visitor for `typeArguments` in function calls wasn't set in the definition, so type annotations added there weren't visited. This is required to fix babel/babel-eslint#644
This is not fixed yet. We still have to wait for the Babel release and merge #645. |
@rubennorte I started get this message upgrade to babel 7 and babel-eslint 9. With rc versions it worked well. |
Sorry, it's because one of my transitive dependency wasn't updated. Reinstall helped. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Given the following code:
Type
is being reported as not being used by ESLint. Identifiers used inside explicit type arguments in function calls should be visited and not reported as unused.The text was updated successfully, but these errors were encountered: