mirror of
https://github.com/luau-lang/rfcs.git
synced 2025-05-04 10:43:48 +01:00
Update docs/index-type-operator.md
fixed a small typo regarding the type of `param` (for line 23) Co-authored-by: Dev Chrysalis Dalal <102641218+deviaze@users.noreply.github.com>
This commit is contained in:
parent
b0c5b71aef
commit
590a7c64ba
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ local bob: Person = {
|
||||||
alive = true
|
alive = true
|
||||||
}
|
}
|
||||||
|
|
||||||
local function doSmt(param: typeof(bob["age"])) -- param = string
|
local function doSmt(param: typeof(bob["age"])) -- param = number
|
||||||
-- rest of code
|
-- rest of code
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue