typescript-to-lua
Advanced tools
Changelog
1.22.0
Number.isInteger(n)
afterEmit
plugin hook that can be used to post-process lua files after (possibly incremental) builds@noSelfInFile
sometimes to be ignoredChangelog
1.21.0
continue
for Lua 5.0, 5.1 and universal targets./** @customName myCustomName **/
decorator, which allows renaming of variables and identifiers.
Changelog
1.20.0
Number.parseInt
and Number.parseFloat
(mapped to same implementation as global parseInt
and parseFloat
)Number
constants like Number.EPSILON
Array.at
debug
modulemoduleResolution
pluginChangelog
1.19.0
using
keyword for explicit resource management. See the TypeScript release notes for more information.toReversed
, toSorted
, toSpliced
and with
. These were also introduced in TypeScript 5.2, see their release notes for more information.Changelog
1.18.0
noResolvePaths
option now accepts glob paths (for example, 'mydir/hello*' to not resolve any files in mydir starting with hello).
noResolvePaths
.Changelog
1.17.0
moduleResolution
plugin, allowing you to provide custom module resolution logic. See the docs for more info.isEmpty
to LuaTable
, LuaMap
and LuaSet
(and their read-only counterparts). This simply to next(tbl) == nil
, allowing for a simple check to see if a table is empty or not.