viclafouch / mui-file-input

A file input designed for the React library MUI
https://viclafouch.github.io/mui-file-input/
MIT License
77 stars 17 forks source link

Add "types" to "exports", to make typescript happy. #17

Closed Yamboy1 closed 1 year ago

Yamboy1 commented 1 year ago

It appears for later versions of typescript (I'm under the impression its v5 and up, but I don't know for sure), if the package.json has a "exports" field, the relevant "types" field has to be inside the exports field too.