mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-02 01:40:54 +01:00
Fix a typo in recap. (#472)
This commit is contained in:
parent
9bc71c4b13
commit
47a8d28aa9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue