From 05e396d4b95dc0f979e2278d9589879c95dffecd Mon Sep 17 00:00:00 2001 From: ffrostfall <80861876+ffrostfall@users.noreply.github.com> Date: Tue, 4 Feb 2025 00:24:20 -0500 Subject: [PATCH] Turn lua into luau Co-authored-by: ariel --- docs/metatable-type-functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/metatable-type-functions.md b/docs/metatable-type-functions.md index abc9ddf..d688fbc 100644 --- a/docs/metatable-type-functions.md +++ b/docs/metatable-type-functions.md @@ -10,7 +10,7 @@ Implement type functions for `getmetatable` and `setmetatable`. There is currently no way for users to apply metatable type information to a type without the usage of `typeof()`. This isn't ideal, as it adds verbosity and boilerplate to common patterns such as object-oriented programming. For example, the following: -```lua +```luau local clock = {} type Identity = typeof(setmetatable({} :: { time: number }, { __index = clock })) ```