Include types in `pkg.exports` to support new TS5.0 `"moduleResolution": "bundler"`
alexiglesias93 opened this issue · comments
Alex Iglesias commented
I'm getting a type error in my project after turning on the new --moduleResolution bundler from TypeScript v5
.
As publint mentions, the type definitions should be included in pkg.exports
.