From afccdf5615a649dd1dc436f3ae23c7a72db4daeb Mon Sep 17 00:00:00 2001 From: Junseo Yoo <59751754+joonyoo181@users.noreply.github.com> Date: Tue, 18 Jun 2024 17:23:40 -0700 Subject: [PATCH] Update docs/rawget-type-operator.md Co-authored-by: aaron --- docs/rawget-type-operator.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rawget-type-operator.md b/docs/rawget-type-operator.md index b1b0adf..b9608a0 100644 --- a/docs/rawget-type-operator.md +++ b/docs/rawget-type-operator.md @@ -9,7 +9,7 @@ This RFC proposes the addition of a new type operator, `rawget`, which can be us Currently, `rawget` is a built-in runtime operator in the language ([rawget in Luau Global functions](https://luau-lang.org/library#global-functions)) that is missing a corresponding type operator that captures its behavior. This RFC seeks to address this hole in the type system by providing a builtin type operator for `rawget` that will allow Luau developers to express more accurate types in their code: ```luau -local prop: rawget = rawget(someTy, someProp) +local prop: rawget = rawget(someExpr, "someProp") ``` ## Design