Bun window tsconfig

I have this error when using bun-types in the tsconfig.json as in https://bun.sh/docs/installation#typescript. This will fail bun run build. Anybody know why this is?
Bun
Installation | Bun Docs
Install Bun with npm, Homebrew, Docker, or the official install script.
5 Replies
Matvey
Matvey9mo ago
can you share the error message if you're using windows, Bun is very experimental (the first windows version was just released a couple of days ago), so it's probably bug in bun, try running it in WSL
sambe
sambe9mo ago
I use MacOS
sambe
sambe9mo ago
No description
Matvey
Matvey9mo ago
Your TSConfig should have something like this "lib": ["ESNext", "DOM"],
sambe
sambe9mo ago
It works without types (first pic), but doesnt with (second)
No description
No description