#discord-api-type got removed from Discord.js?

31 messages · Page 1 of 1 (latest)

tawny tapirBOT
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

dull grail
#

iirc discord.js used to export all types from discord-api-types but does not anymore

somber locust
#

it still does dosent it

tender vault
#

it does

#

you should import everything from discord.js

#

you shouldnt install discord-api-types manually (if you're using discord.js)

dull grail
potent hollow
potent hollow
#

And it was fine when I was on discord.js v14.3.0

#

discord-api-type got removed from Discord.js?

tender vault
#

did you install discord-api-types manually?

potent hollow
potent hollow
#

You mean vscode?

tender vault
#

the ts server of vscode

potent hollow
#

I haven't yet, im not sure if it's the problem

tender vault
#

restarting vscode works too

potent hollow
#

Vscode is pretty buggy, dk if it's because I have 70 extensions

potent hollow
# tender vault dont

Alr I'll uninstall when I get on my PC tmor, and will let you know if the problem have being solved

tender vault
#

the ts server bugs sometimes

#

you can restart it from the command pallet

potent hollow
tender vault
#

restart ts server

potent hollow
#

Ah alr, thx