graffle: [7.0.1] broken types
After upgrading to 7.0.1 IDE complains about typings.
Screenshot
Description
Reproduction Steps/Repo Link
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16 (4 by maintainers)
After upgrading to 7.0.1 IDE complains about typings.
did that earlier and it breaks everything, got like 200 errors lol.
@jasonkuhrt can you please bring the types back? It’s a tremendous breaking change.
Then it’s not about broken types. New issue welcome, thanks!
Yup, runtime, I’m using node 22.1.0.
@jasonkuhrt You’re totally right, didn’t expect
typesfield to be legacy, but yeah usingmoduleResolution: "bundler"fixed my issue, but afraid of others that relays on TSC to bundle their libraries or applications, Thanks anyway!@efstathiosntonas just change
moduleResolutionto beBundler, but the issue with that, it might break other stuff@efstathiosntonas but that issue got closed as well 🥲
@jasonkuhrt I believe we need the
typesfield back, just for backward compatibilityI opened an issue yesterday and it was closed, and many others, the issue is TypeScript compiler doesn’t read the
exportsfield in thepackage.jsonyet and relays only on thetypesfield, in the v7 types field got removed