shuckster / match-iz

A tiny pattern-matching library in the style of the TC39 proposal.
MIT License
147 stars 2 forks source link

Adds types export to pkg.json#exports #4

Closed olmesm closed 5 months ago

olmesm commented 5 months ago

Types fail to resolve on node20/vite#vanilla-ts due to not being included in the exports field.

This PR... adds type exports to the package.json exports field.

Thanks for the package!

Before patch:

image

Post patch:

image