Open CodingMarkus opened 4 days ago
This is the same issue yeah? https://github.com/oven-sh/bun/issues/8761
Your tsconfig must have "skipLibCheck": true
and it'll work.
Not sure. I was searching for the conflicting symbols and that other issue is about different symbols conflicting. I use none of these symbols myself but they could be used by my one and only dependency other than bun itself (@types/emscripten
). The issue that there are conflicts between both type-packages is the same.
I wouldn't even care for tsc
at all, I can bundle the code with bun but bun cannot create .d.ts
files and without those, I have no type information when using my package within other TS projects.
What version of Bun is running?
1.1.37
What platform is your computer?
Darwin 23.6.0 arm64 arm
What steps can reproduce the bug?
is all that is required to make the project incompatible with
tsc
.What is the expected behavior?
tsc should still work, after all I just installed the bun types to the project.
What do you see instead?
tsc --emitDeclarationOnly
results in:Additional information
I didn't install anything else, it was bun who decided to install both,
@types/bun
and@types/node
and these two are incompatible with each other.And yes, my
tsconfig.json
excludes all modules: