Apply suggestions from code review

Co-authored-by: Lily Brown <lily@lily.fyi>
This commit is contained in:
Alan Jeffrey 2021-09-21 17:18:35 -05:00 committed by GitHub
parent 408108e845
commit 46d4fbd038
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,8 +23,8 @@ Currently, this code doesn't typecheck, due to `p` and `q` being unknown propert
## Design
In order to support this idiom, we propose that assigning a table with
to an unsealed table should add an optional proerty.
In order to support this idiom, we propose that assigning a table
to an unsealed table should add an optional property.
For example, before this change the type of `t` is `{ u: {} }`,
and after this change is `{ u: { p: number?, q: number? } }`.