ssangervasi / narrow-minded

Easy typeof validations with sophisticated TypeScript inference
https://www.harmless.dev/narrow-minded/
MIT License
3 stars 0 forks source link

Add `.js` extensions to exports so that TSC resolves declarations under node16 #1

Closed ssangervasi closed 1 year ago

ssangervasi commented 1 year ago

Describe the bug Package types don't resolve under TypeScript's `node16' module resolution.

Solution https://github.com/developit/microbundle/issues/1019#issuecomment-1384721680