[DiscordArchive] tstl?
[DiscordArchive] tstl?
Archived author: <o> • Posted: 2021-05-09T07:29:28.921000+00:00
Original source
tstl?
Archived author: <o> • Posted: 2021-05-09T07:30:25.118000+00:00
Original source
we _might_ have type files left from the eluna days if you don't wanna have to generate them yourselves by the way, just let us know. it was a different developer back then, so a few things were lost when the project was transferred
Archived author: Yehonal • Posted: 2021-05-09T07:34:34.120000+00:00
Original source
eluna-ts compiles TS files in LUA with the tstl (https://typescripttolua.github.io/)
[Embed: TypeScriptToLua]
https://typescripttolua.github.io/
Archived author: Yehonal • Posted: 2021-05-09T07:34:51.002000+00:00
Original source
so you don't need to rewrite your Lua scripts
Archived author: Yehonal • Posted: 2021-05-09T07:35:23.114000+00:00
Original source
the advantages of Typescript is that we can provide definitions, type hinting...but also the possibility to do unit tests, linting etc
Archived author: Yehonal • Posted: 2021-05-09T07:36:12.095000+00:00
Original source
so basically, such as for TS->JS, the TS->Lua is just a way to write more robust and quality code
Archived author: Shiroe • Posted: 2021-05-09T07:36:59.891000+00:00
Original source
That sounds good
Archived author: Yehonal • Posted: 2021-05-09T07:38:49.964000+00:00
Original source
what Eluna-TS does is providing libraries and definition files for the Eluna system to allow you having the correct type-hinting checks and some helper methods to reuse