Chevrotain / chevrotain

Parser Building Toolkit for JavaScript
https://chevrotain.io
Apache License 2.0
2.44k stars 199 forks source link

fix: add `types` to exports #1968

Closed msujew closed 11 months ago

msujew commented 11 months ago

Closes https://github.com/Chevrotain/chevrotain/issues/1967

While the types field at the package.json root seems to work internally in the monorepo, other projects require to use the exports.types field.

bd82 commented 11 months ago

I will also add the exports field in the @chevrotain/types package

bd82 commented 11 months ago

https://github.com/Chevrotain/chevrotain/commit/51af6cabff19c7dc36bd366a97445b8b3470c070