mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-04 10:50:54 +01:00
Apply suggestions from code review
Co-authored-by: Lily Brown <lily@lily.fyi>
This commit is contained in:
parent
408108e845
commit
46d4fbd038
1 changed files with 2 additions and 2 deletions
|
@ -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? } }`.
|
||||
|
|
Loading…
Add table
Reference in a new issue