What does this Flow syntax mean/do?
type Options = {| assumeValid?: boolean, commentDescriptions?: boolean, |};
I can't seem to find where the {|
... |}
syntax is documented.
This is Flowtype's Exact Object type syntax.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With