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

fix(types): add exports to package.json #285

Merged
merged 1 commit into from
May 10, 2024
Merged

fix(types): add exports to package.json #285

merged 1 commit into from
May 10, 2024

Conversation

noelforte
Copy link
Contributor

Ran into #270 myself; I'm not a user of Typescript directly, but I do grab types using JSDoc comments to help in my IDE. Did some research, apparently you have to declare explicit type exports in package.json.

Specifically, I followed the work done in this comment here: tj/commander.js#1704 (comment). I then did a local install to verify type accquisition works as intended and it appears to. Hopefully this pull request fixes it!

@maltsev
Copy link
Member

maltsev commented May 10, 2024

Thanks for fixing it!

@maltsev maltsev merged commit 96ed9d7 into posthtml:master May 10, 2024
4 checks passed
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.

None yet

2 participants