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 missing in ESM monorepos #321

Merged
merged 1 commit into from Aug 24, 2022
Merged

fix types missing in ESM monorepos #321

merged 1 commit into from Aug 24, 2022

Conversation

rafaberaldo
Copy link
Contributor

Related Issues

What Does This PR Do?

Fixes types missing in ESM monorepos

Added

Add types to module exports: https://nodejs.org/api/packages.html#community-conditions-definitions

Checklist

  • The issues that this PR fixes/closes have been mentioned above.
  • What this PR adds/changes/removes has been explained.
  • All tests (npm test) pass.
  • All added/modified code has been commented, and
    methods/classes/constants/types have been annotated with TSDoc comments.
  • If a new feature has been added or a bug has been fixed, tests have been
    added for the same.

@nfriedly
Copy link
Member

Aaah, interesting. I didn't know about that. Thanks!

@nfriedly nfriedly merged commit 0d1be7d into express-rate-limit:master Aug 24, 2022
@nfriedly
Copy link
Member

This is now live on npm in v6.5.2 - thanks again!

@rafaberaldo
Copy link
Contributor Author

worked like a charm, thanks!

@rafaberaldo rafaberaldo deleted the patch-1 branch August 24, 2022 20:03
@gamemaker1
Copy link
Member

Sorry I didn't get time to investigate this issue, and thanks for sending in this fix @rafaelpimpa!

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.

ESM monorepo fails to find types declaration
3 participants