Closed aleclarson closed 2 years ago
TypeScript needs types condition when pkg.exports is defined
types
pkg.exports
Source: https://github.com/microsoft/TypeScript/issues/33079#issuecomment-950214842
Also fixes "moduleResolution": "node16" (released in TypeScript 4.7)
"moduleResolution": "node16"
Thank you! Sorry it took so long to get round to this.
Published as 7.0.2
TypeScript needs
types
condition whenpkg.exports
is definedSource: https://github.com/microsoft/TypeScript/issues/33079#issuecomment-950214842