This is in beta and is specifically focused on providing accurate TypeScript definitions based on the WoW API at the time of Wrath of Lich King.
This maintained by the Araxia team and dependendy systems:
- ETS Modules a content module creator specifically targets for servers running Eluna API, like Azeroth Core or Trinity Core
Supported transpilers for LUA targets:
- TypescriptToLua (GitHub-Page)
Installing this dependency via
$ npm install @araxiaonline/wow-wotlk-declarations@latest
(npm repository installation)$ npm install araxiaonline/wow-wotlk-declarations#
(github repository installation)
IF you are using the ETS Module System then this is bundle for you into the init command, if you you can use the following instructions below to configure your project.
Add the wow-wotlk-declarations path to your tsconfig.json
compiler options like below:
{
"compilerOptions": {
// ...
"typeRoots": [
"./node_modules/@types",
"./node_modules/@araxiaonline/wow-wotlk-declarations"
]
}
}
- Added GetRegions to Frames
- Added RegionType
- Added GetID and GetName to Tooltip
- Added MultiLua to Cursor object
- Added more UI Global Functions that were missing for frames
- Add Character Model Frames
- Added Model
- Fixed some Unit returns to be LuaMulti
- Added Sound WoW Api methods
- Converted more methods from @noself to LuaMulti return types.
- Added LuaMulti to all tupleReturn methods in Cursor and UI
- Added OnDragStart and OnDragStop events to UI
- Added RegisterHypelinkClick option to FrameUI