it compiles

This commit is contained in:
2021-06-23 22:48:54 -05:00
parent d125696058
commit 8ce294291c
7 changed files with 1862 additions and 7 deletions

23
ts-lua/dist/test.lua vendored Normal file
View File

@@ -0,0 +1,23 @@
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
menu:add_feature(
"test",
"action",
0,
function()
do
local i = 0
while i < 120 do
scriptdraw:draw_rect(
v2(nil, 1, 1),
v2(nil, 1, 1),
4278190080
)
local ____ = (function()
local ____tmp = i
i = ____tmp + 1
return ____tmp
end)() and system:wait(0)
end
end
end
)