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: relative declaration extension should match the extension of the code output #272

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cjpearson
Copy link

Makes sure the extension used in the import inside the declaration file matches that of the output. When the output code is uses .mjs the import in the declaration should look like ./foo.mjs when addRelativeDeclarationExtensions is enabled.

Copy link

codecov bot commented Dec 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.69%. Comparing base (9000888) to head (1598b8d).
Report is 77 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #272      +/-   ##
==========================================
- Coverage   82.86%   80.69%   -2.18%     
==========================================
  Files          12       13       +1     
  Lines         852      896      +44     
  Branches      133      190      +57     
==========================================
+ Hits          706      723      +17     
- Misses        144      171      +27     
  Partials        2        2              

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

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.

1 participant