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

"opaque types" introduced without documentation #4443

Closed
lll000111 opened this issue Jul 22, 2017 · 5 comments
Closed

"opaque types" introduced without documentation #4443

lll000111 opened this issue Jul 22, 2017 · 5 comments

Comments

@lll000111
Copy link
Contributor

lll000111 commented Jul 22, 2017

New Features:

  • Added support for opaque type aliases

So.... what is this? "opaque" indeed :-)

Version 0.51 commit message: 7da11c3

@rkurbatov
Copy link

👍

@AugustinLF
Copy link
Contributor

Not docs, but better than nothing: https://twitter.com/vkurchatkin/status/886385324422836224

@billschaller
Copy link
Contributor

@jbrown215

@jbrown215
Copy link
Contributor

jbrown215 commented Jul 24, 2017

We'll be working on the documentation this week. Until that gets landed, the hack documentation for their opaque type aliases covers the functionality we were going for. For some examples of the syntax and how opaque types work in Flow, you can check out anything in the tests/ directory that starts with opaque.

I've been focusing on getting support for this landed in babel/babylon so that you can start using it ASAP.
Heres links to those PRs, in case you wanted to follow along:
babel/babel#5990
babel/babylon#644
babel/babylon#643

@jbrown215
Copy link
Contributor

jbrown215 commented Jul 24, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants