jaredh159 / tailwind-react-native-classnames

simple, expressive API for tailwindcss + react-native
2.08k stars 84 forks source link

Add types to exports map #263

Closed leemhenson closed 10 months ago

leemhenson commented 10 months ago

Hi. I'm using twrnc in a project that uses Typescript 5.3 and moduleResolution: "NodeNext". With this combination, Typescript is unable to locate type declarations for twrnc as it looks specifically at the exports map in package.json. Currently, that exports map doesn't list types but when those entries are added Typescript can load the declarations successfully.

jaredh159 commented 10 months ago

thanks, i appreciate the contribution. will merge and cut a patch release for you in just a minute 👍

jaredh159 commented 10 months ago

3.6.8 has the change.