Flow: Document `empty` type

Created on 2 Jun 2017  ·  4Comments  ·  Source: facebook/flow

Accepting PRs Has PR Needs docs help wanted

Most helpful comment

@wuweiweiwu Are you still interested in taking this? Would love to see it documented ❤️ !

I use it because I stumbled upon it on the web, was very surprised when I just noticed that it wasn't actually documented on the site :(

All 4 comments

The empty type is described in #2225, the issue that asked for it to be implemented. It’s a “type that is not satisfied by any value”. It’s the equivalent of never in TypeScript.

@samwgoldman @roryokane Can i take this?

@wuweiweiwu Are you still interested in taking this? Would love to see it documented ❤️ !

I use it because I stumbled upon it on the web, was very surprised when I just noticed that it wasn't actually documented on the site :(

What's the status of this? It looks like there is an open PR that was never merged. I'd be happy to work more on this if it's needed.

Was this page helpful?
0 / 5 - 0 ratings