Skip to content

Document advanced Utility Types #2464

@gabro

Description

@gabro

In the process of learning Flow and adopting it at work, I've often needed "advanced" operators that are completely missing from the documentation.

So far I relied on this blog post (now slightly outdated) http://sitr.us/2015/05/31/advanced-features-in-flow.html and code found in the Flow and React codebases.

I think I'd be nice to have this features explained in the official documentation.

The features I'd like to see documented are:

And maybe (they look like internal features though):

Am I missing something?

In order to get the ball rolling, I've sketched a documentation page for "dynamic" enums using $Keys (aka $Enum). I have a PR almost ready that I will submit soon.

Is this something that you guys are already working on?
I'd be glad to help (provided that I understand the features first 😅).

Let me know!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions