mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 14:25:44 +08:00
Fix a typo in recap. (#472)
This commit is contained in:
parent
9bc71c4b13
commit
47a8d28aa9
@ -14,7 +14,7 @@ It is now allowed to define functions on sealed tables that have string indexers
|
||||
```lua
|
||||
local a : {[string]: () -> number} = {}
|
||||
|
||||
function b.y() return 4 end -- OK
|
||||
function a.y() return 4 end -- OK
|
||||
```
|
||||
|
||||
Autocomplete will now provide string literal suggestions for singleton types. eg
|
||||
|
Loading…
Reference in New Issue
Block a user