Skip to content
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

Fix resolving of more than two Flow Utility types #345

Merged
merged 3 commits into from
Apr 17, 2019
Merged

Fix resolving of more than two Flow Utility types #345

merged 3 commits into from
Apr 17, 2019

Conversation

danez
Copy link
Collaborator

@danez danez commented Apr 14, 2019

We only were resolving up to two levels, because we were doing it in two places :D

type A = $Shape< $Shape< $Shape<B>>>

This also refactors the code so that we only do the unwrapping and resolving of types in one single place.

@danez danez added the bug label Apr 14, 2019
@danez danez merged commit 8eca876 into master Apr 17, 2019
@danez danez deleted the refactor branch April 17, 2019 20:15
danez added a commit that referenced this pull request May 3, 2019
* Refactor code to do unwrapping of flow utility types in one place

* Simplify unwrapping of utility types

* Restore old functionality of returning falsey value
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant