1
0
mirror of https://github.com/onkelbeh/cheatsheets.git synced 2025-06-15 14:47:53 +02:00

Updated flow.md to fix type for error (#833)

This commit is contained in:
Stephen Rhodes 2018-11-07 22:46:01 +00:00 committed by chad d
parent db77ac7c98
commit 1782484ce9

View File

@ -133,7 +133,7 @@ type Album = {
```js
const a: Album = { } // ✓ OK
a.name = 'Blue' // ✓ OK
a.name = null // Error
a.name = null // Error
a.name = undefined // ✓ OK
```