From 590a7c64baf199073856073b3bc2b7e5c2a1779f Mon Sep 17 00:00:00 2001 From: Junseo Yoo <59751754+joonyoo181@users.noreply.github.com> Date: Thu, 30 May 2024 14:32:18 -0700 Subject: [PATCH] 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> --- docs/index-type-operator.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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