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?
5 Replies
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
I use MacOS
Your TSConfig should have something like this
"lib": ["ESNext", "DOM"],
It works without types (first pic), but doesnt with (second)