Fix typo
This commit is contained in:
parent
f8fe256b03
commit
ad6f11df46
2
flow.md
2
flow.md
|
@ -137,7 +137,7 @@ a.name = null // ✓ OK
|
|||
a.name = undefined // ✓ OK
|
||||
```
|
||||
|
||||
This makes an `Album` valid even if `artist` is not part of the keys. This is different from "maybe" types.
|
||||
This makes an `Album` valid even if `name` is not part of the keys. This is different from "maybe" types.
|
||||
|
||||
See: [Optional properties](https://flow.org/en/docs/types/primitives/#toc-optional-object-properties)
|
||||
|
||||
|
|
Loading…
Reference in New Issue