In defining types, I found two different syntax. The first one being;
type Type = {
...
}
The second one being:
type Type = {|
...
|}
I tried to check in the documentation but I didn't find anything that describes the second syntax. What is the difference between these two definitions?