facebook / facebook/jscodeshift

Find does not traverse ClassDeclarations superTypeParameters

Open
#34 2 comments 1 reaction 0 assignees View on GitHub
bug upstream
Dominant language
JavaScript
Stars
10k
Forks
498
PR merge metrics
No merged PRs in 30d

Description

When I'm searching for all `GenericTypeAnnotations`s find does not traverse the generics on a super class that a class extends.

```
class Foo extends Bar {}
```

It would not find Baz for example, even though it is a `GenericTypeAnnotation`.

Here's an example that highlights this, http://felix-kling.de/esprima_ast_explorer/#/odivoefENV/16

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.