[DEV] Use TypeScript to develop WoW #3973
Replies: 3 comments
-
The link has extra things after the closing The project is interesting, but typing some APIs can be a bit of a challenge. We (2 people on the wow addons discord) experimented with Haxe, and this is what I had to write to get type-safety with the Lua APIs. On retail, there's a way to get .lua files with |
Beta Was this translation helpful? Give feedback.
-
What is the link? |
Beta Was this translation helpful? Give feedback.
-
Here: http://discord.me/addons There’s a new channel for legacy addon, just have to select the role in #welcome |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Since using LUA one can write code for both the WoW client and the server (using Eluna), I thought it would be interesting to know that whenever you used LUA before, you can now use TypeScript thanks to this transpiler:
https://typescripttolua.github.io
A generic TypeScript to Lua transpiler. Write your code in TypeScript and publish Lua!
TypeScript is a modern language. According to Stackoverflow it was one of the most loved languages of 2018. I've been using it a work and I'm quite happy with it.
@AyaseCore @Helias @deku
Beta Was this translation helpful? Give feedback.
All reactions