Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(semantic): do not resolve references after
FormalParameters
in …
…TS type (#4241) Semantic resolves references when exiting `FormalParameters` to ensure references in param initializers don't get bound to bindings inside the function body. However, it shouldn't do this for `FormalParameters` in TS types e.g. `TSTypeAnnotation` because they don't have their own scopes.
- Loading branch information