This commit is contained in:
Peter Zalewski 2018-04-17 11:25:06 -04:00 committed by GitHub
parent f8fe256b03
commit ad6f11df46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)