typescript-to-lua
Advanced tools
Changelog
0.12.0
!
decorators, see https://github.com/TypeScriptToLua/TypescriptToLua/wiki/Compiler-DirectivesChangelog
0.11.0
else if
statements are now transpiled to Lua elseif
instead of nested ifs statements. (@tomblind)unpack
instead of table.unpack
for ... of
translation, it now uses numeric for
loops instead of ipairs
for performance reasons.Changelog
0.10.0
abc!
transforming the type from abc | undefined
to abc
)array.reverse
, array.shift
, array.unshift
, array.sort
. (@andreiradu)Object.hasOwnProperty()
. (@andreiradu)Changelog
0.9.0
self
was undefined in function properties.self
instance. (thanks @hazzard993)toString
calls (thanks @andreiradu)Thanks @tomblind for the following changes:
!TupleReturn
functions.Changelog
0.8.0
tstl --watch
...
spread operator;
after lines to avoid ambiguous syntax (thanks @andreiradu)Changelog
0.7.0
lubLibImport
, options are:
require
: Requires the entire library if lualib features are used.always
: Always require the runtime library.inline
: Inline the library code for used features in the file.none
: Do not include the runtime library+=
, &=
, ++
, etc) in other expressions (i.e. lastIndex = i++
or return a += b
) by transpiling them as immediately called anonymous functions.Changelog
0.6.0
npm run test-threaded
).