What does flow {| brace pipe |} syntax do?

后端 未结 1 1545

What does this Flow syntax mean/do?

type Options = {|
  assumeValid?: boolean,
  commentDescriptions?: boolean,
|};

I can\'t seem to find w

1条回答
  •  既然无缘
    2020-12-06 10:08

    This is Flowtype's Exact Object type syntax.

    0 讨论(0)
提交回复
热议问题