typescript-to-lua
Advanced tools
Changelog
1.8.0
[...pairs(obj)]
.super
calls not being source-mapped correctly.Changelog
1.7.0
LuaMap
and LuaSet
language extensions that translate to very low level Lua table operations. See our docs for more information.then
was not correctly forwarding the result value to chained promises.Changelog
1.6.0
noImplicitSelf
was specified.noImplicitSelf
was ignored because of incorrect file path separators.Changelog
1.5.0
Array.from
and Array.of
beforeEmit
hook to plugins that runs after tstl is totally done, but before emitting the result.
import("./module").then(m => m.foo());
)lua51AllowTryCatchInAsyncAwait
to disable restrictions on try/catch in combination with async/await in 5.1 (default: false)noImplicitGlobalVariables
to disable tstl making variables global in non-module files.removeComments
tsconfig setting.obj.method!()
) would not pass the correct self parameter, causing runtime errors.npm link
) were not recognized as external dependencies by module resolution.loadstring