diff --git a/docs/index-type-operator.md b/docs/index-type-operator.md index dd8751c..a1d28e9 100644 --- a/docs/index-type-operator.md +++ b/docs/index-type-operator.md @@ -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