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.
Hi. I'm using
twrnc
in a project that uses Typescript 5.3 andmoduleResolution: "NodeNext"
. With this combination, Typescript is unable to locate type declarations fortwrnc
as it looks specifically at theexports
map inpackage.json
. Currently, thatexports
map doesn't listtypes
but when those entries are added Typescript can load the declarations successfully.