[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-16T21:05:50.533000+00:00
Original source
but the `tsconfig` should be bringing them through
Archived author: nerdsville • Posted: 2024-06-16T21:10:06.141000+00:00
Original source
OMG lol
Archived author: nerdsville • Posted: 2024-06-16T21:10:29.074000+00:00
Original source
stepped away for a sec and figured it out
Archived author: nerdsville • Posted: 2024-06-16T21:11:09.876000+00:00
Original source
making a PR
Archived author: nerdsville • Posted: 2024-06-16T21:17:08.033000+00:00
Original source
<@175631911450836993> - https://github.com/azerothcore/eluna-ts/pull/6
[Embed: Fix module resolution by thatnerdjosh · Pull Request #6 · azerothco...]
Please review with extra scrutiny - not a typescript expert. This fixes editor integration in VSCode.
https://github.com/azerothcore/eluna-ts/pull/6
Archived author: nerdsville • Posted: 2024-06-16T21:17:14.517000+00:00
Original source
Thanks for the help!
Archived author: nerdsville • Posted: 2024-06-16T21:19:18.946000+00:00
Original source
The issue (I think) is probably that the typeRoots was already pointing to @azerothcore - so it was trying to auto import something such as @azerothcore/@azerothcore/eluna-ts-definitions
Archived author: Roboto • Posted: 2024-06-16T21:39:39.784000+00:00
Original source
here's a working minimal example if you don't want to use the skeleton from the repo
tsconfig.json
package.json
test.ts
Archived author: Foe • Posted: 2024-06-16T21:40:22.485000+00:00
Original source
TS makes me sad
Archived author: Roboto • Posted: 2024-06-16T21:40:23.939000+00:00
Original source
ugh tabs don't display properly in the Discord preview