Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add types to exports map #263

Merged
merged 1 commit into from
Jan 17, 2024
Merged

Conversation

leemhenson
Copy link
Contributor

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
Copy link
Owner

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

@jaredh159 jaredh159 merged commit 6c5bbef into jaredh159:master Jan 17, 2024
1 check passed
@jaredh159
Copy link
Owner

3.6.8 has the change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants