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:
Junseo Yoo 2024-05-30 14:32:18 -07:00 committed by GitHub
parent b0c5b71aef
commit 590a7c64ba
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -20,7 +20,7 @@ local bob: Person = {
alive = true
}
local function doSmt(param: typeof(bob["age"])) -- param = string
local function doSmt(param: typeof(bob["age"])) -- param = number
-- rest of code
end