From ccabfa335a6ccb16645d68f06b9249ca6e30e721 Mon Sep 17 00:00:00 2001 From: Filip Tibell Date: Fri, 25 Aug 2023 08:16:53 -0500 Subject: [PATCH 1/3] Make luau happy in test file --- tests/roblox/instance/classes/Terrain.luau | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/roblox/instance/classes/Terrain.luau b/tests/roblox/instance/classes/Terrain.luau index 3902d21..519c03b 100644 --- a/tests/roblox/instance/classes/Terrain.luau +++ b/tests/roblox/instance/classes/Terrain.luau @@ -1,4 +1,4 @@ -local roblox = require("@lune/roblox") +local roblox = require("@lune/roblox") :: any local Instance = roblox.Instance local Color3 = roblox.Color3 local Enum = roblox.Enum From a1209634514aaa5cdfb257cb0eafb0cb6da09c4b Mon Sep 17 00:00:00 2001 From: Filip Tibell Date: Fri, 25 Aug 2023 09:02:00 -0500 Subject: [PATCH 2/3] Update tools --- aftman.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aftman.toml b/aftman.toml index aebcd0a..37eb389 100644 --- a/aftman.toml +++ b/aftman.toml @@ -1,4 +1,4 @@ [tools] -luau-lsp = "JohnnyMorganz/luau-lsp@1.20.0" -selene = "Kampfkarren/selene@0.24.0" -stylua = "JohnnyMorganz/StyLua@0.17.0" +luau-lsp = "JohnnyMorganz/luau-lsp@1.23.0" +selene = "Kampfkarren/selene@0.25.0" +stylua = "JohnnyMorganz/StyLua@0.18.1" From 37d6f1de2da12079e3ca9703a106f26101ca32c5 Mon Sep 17 00:00:00 2001 From: Filip Tibell Date: Sat, 26 Aug 2023 16:22:49 -0500 Subject: [PATCH 3/3] Fix argument casing in typedefs --- types/Luau.luau | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/Luau.luau b/types/Luau.luau index a54b2fc..550ea56 100644 --- a/types/Luau.luau +++ b/types/Luau.luau @@ -74,11 +74,11 @@ local luau = {} ``` @param source The string that'll be compiled into bytecode - @param CompileOptions The luau compiler options used when compiling the source string + @param compileOptions The luau compiler options used when compiling the source string @return luau bytecode ]=] -function luau.compile(source: string, CompileOptions: CompileOptions?): string +function luau.compile(source: string, compileOptions: CompileOptions?): string return nil :: any end