[DiscordArchive] is the editor integration only expected to work for hooks atm?
[DiscordArchive] is the editor integration only expected to work for hooks atm?
Archived author: nerdsville • Posted: 2024-06-16T19:59:47.724000+00:00
Original source
`eluna-ts-lib` loads fine afaict
Archived author: nerdsville • Posted: 2024-06-16T19:59:57.112000+00:00
Original source
minus where it brings in the definitions
Archived author: nerdsville • Posted: 2024-06-16T20:00:01.872000+00:00
Original source
but again I'm not a ts expert
Archived author: nerdsville • Posted: 2024-06-16T20:00:04.025000+00:00
Original source
so I could be wrong
Archived author: nerdsville • Posted: 2024-06-16T20:00:30.241000+00:00
Original source
but beyond that, I think some sort of transpile time type checking is happening breaking some of the example code
Archived author: nerdsville • Posted: 2024-06-16T20:01:12.481000+00:00
Original source
going to pull down the skeleton and try once again now that I'm a bit more rested - brb
Archived author: nerdsville • Posted: 2024-06-16T20:06:44.286000+00:00
Original source
yeah same issue
```
[8:06:04 PM] File change detected. Starting incremental compilation...
src/player.ts:17:30 - error TS2556: Expected 2 arguments, but got 0 or more.
17 (...args) => OnPlayerLogin(...args),
~~~~~~~
node_modules/@azerothcore/eluna-ts-definitions/src/hooks/PlayerHooks.d.ts:167:3
167 event: PlayerEvents.PLAYER_EVENT_ON_LOGIN,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'event' was not provided.
[8:06:05 PM] Found 1 error. Watching for file changes.
```
Archived author: nerdsville • Posted: 2024-06-16T20:07:22.194000+00:00
Original source
Would you recommend just using lua for now?
Archived author: nerdsville • Posted: 2024-06-16T20:12:25.440000+00:00
Original source
oh
Archived author: nerdsville • Posted: 2024-06-16T20:12:34.786000+00:00
Original source
it is transpiling to lua