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: use cjs export assignment in type defs #36

Merged
merged 1 commit into from Nov 19, 2023
Merged

Conversation

43081j
Copy link
Contributor

@43081j 43081j commented Nov 19, 2023

As explained here:

https://arethetypeswrong.github.io/?p=rollup-plugin-external-globals%400.9.0

The types are currently incorrect and will fail to resolve properly in nodenext resolution.

This is because the exported function is actually an export-assignment, not a default export.

This change updates the types to match this.

As explained here:

https://arethetypeswrong.github.io/?p=rollup-plugin-external-globals%400.9.0

The types are currently incorrect and will fail to resolve properly in
`nodenext` resolution.

This is because the exported function is actually an export-assignment,
not a default export.

This change updates the types to match this.
Copy link

codecov bot commented Nov 19, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9d34d50) 98.13% compared to head (de2859d) 98.13%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #36   +/-   ##
=======================================
  Coverage   98.13%   98.13%           
=======================================
  Files           2        2           
  Lines         215      215           
=======================================
  Hits          211      211           
  Misses          4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@eight04 eight04 merged commit 934199a into eight04:master Nov 19, 2023
3 checks passed
@43081j 43081j deleted the dts branch November 19, 2023 16:10
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