Skip to content

Commit 4b01606

Browse files
authored
Merge pull request #29 from cclews1/patch-1
typo fix
2 parents 428aef8 + 9795c27 commit 4b01606

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book-content/chapters/12-the-weird-parts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ But Flow recommends you use closed objects by default. They think that, especial
207207
208208
### Why Does TypeScript Treat Objects As Open?
209209
210-
Open objects more closely reflect how JavaScript actually works. Any type system for JavaScript - a very dynamic lanugage - has to be relatively cautious about how 'safe' it can truly be.
210+
Open objects more closely reflect how JavaScript actually works. Any type system for JavaScript - a very dynamic language - has to be relatively cautious about how 'safe' it can truly be.
211211
212212
So, TypeScript's decision to treat objects as open by default is a reflection of the language it's trying to type. It also more closely reflects how objects work in other languages.
213213

0 commit comments

Comments
 (0)