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.
No description
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....
Jump to solution
3 Replies
Favna
Favna10mo ago
Can you put your code on GH? things are a bit hard to tell from just these screenshots
Solution
Kito
Kito10mo ago
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.
Favna
Favna10mo ago
Good to hear!
Want results from more Discord servers?
Add your server