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

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?
4 Replies
d.js toolkit
d.js toolkit3w ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - 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
CaseyCodes
CaseyCodesOP3w ago
Screenshot attached. Like I mentioned, code runs fine, but vscode keeps screaming about missing types for some reason
No description
Mark
Mark3w ago
this belongs in #other-js-ts since it's related to bun, not d.js
CaseyCodes
CaseyCodesOP3w ago
ah my bad, missed that channel. Appreciate it

Did you find this page helpful?