#Bare bones d.js setup with bun, can't find types for bun?

4 messages · Page 1 of 1 (latest)

astral forum
#

Currently setting up a new d.js project with bun. I don't even have d.js code in here yet lol. Vscode keeps complaining that it can't find the types for bun and console, however I have both the bun and typescript extensions installed. I'm pretty certain it's a typescript config issue, but afaik the default bun typescript config should work just fine. Am I missing something here with my vscode config?

frosty steppeBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • Consider reading #how-to-get-help to improve your question!
  • Explain what exactly your issue is.
  • Post the full error stack trace, not just the top part!
  • Show your code!
  • Issue solved? Press the button!
  • Marked as resolved by staff
astral forum
#

Screenshot attached. Like I mentioned, code runs fine, but vscode keeps screaming about missing types for some reason

quasi cave
#

this belongs in #1081585952654360687 since it's related to bun, not d.js