Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Flow opaque type aliases #5990
Adds support for Flow's opaque type aliases. Babylon support was added in this PR: babel/babylon#643
Tests pass when using the current state of babylon's master branch. Backport for 6.x will come after this lands.
I tried to split my commits in a way that would make it easier to review. The first two are the only code changes I made, the rest are tests.
Q: I assume I probably should update the babel-types README to include declareOpaqueType and opaqueType, but I noticed all of the docs refer to