A bunch of errors from discord.js's index.d.ts file when compiling
djs version: latest (14.14.1)
If needed, I can send my ts-config here.
Some notes:
- Adding skipLibCheck doesn't help.
- Using Sapphire's ts-config doesn't somehow help either.
- I use pnpm but tried to use npm too, reinstalling all the packages. This doesn't help either.
Solution:Jump to solution
No more needed, I solved my problem myself, thanks for your attention.
The issue was that my TS compiler was outdated (4.9.5) so it didn't fit for the new djs. I updated it to the latest version (5.3.3.) and it solved the issue....
3 Replies
Can you put your code on GH?
things are a bit hard to tell from just these screenshots
Solution
No more needed, I solved my problem myself, thanks for your attention.
The issue was that my TS compiler was outdated (4.9.5) so it didn't fit for the new djs. I updated it to the latest version (5.3.3.) and it solved the issue.
Good to hear!