Skip to content

Also type-check d.ts files#5340

Merged
lukastaegert merged 1 commit intomasterfrom
check-d-ts
Jan 16, 2024
Merged

Also type-check d.ts files#5340
lukastaegert merged 1 commit intomasterfrom
check-d-ts

Conversation

@lukastaegert
Copy link
Copy Markdown
Member

Changing module-resolution to "Bundler" indeed solve all issues

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers:

Description

Apparently, we no longer need "skipLibCheck: true" if we change moduleResolution to "Bundler" in relevant places. This allows us to type check all d.ts files, which might be important for some forthcoming type changes.

@vercel
Copy link
Copy Markdown

vercel bot commented Jan 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rollup ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 15, 2024 5:22am

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 14, 2024

Thank you for your contribution! ❤️

You can try out this pull request locally by installing Rollup via

npm install rollup/rollup#check-d-ts

Notice: Ensure you have installed Rust nightly. If you haven't installed it yet, please first see https://www.rust-lang.org/tools/install to learn how to download Rustup and install Rust, then see https://rust-lang.github.io/rustup/concepts/channels.html to learn how to install Rust nightly.

or load it into the REPL:
https://rollup-doijkzs82-rollup-js.vercel.app/repl/?pr=5340

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3ba1511) 98.81% compared to head (b63d9cd) 98.81%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5340   +/-   ##
=======================================
  Coverage   98.81%   98.81%           
=======================================
  Files         232      232           
  Lines        8993     8993           
  Branches     2345     2345           
=======================================
  Hits         8886     8886           
  Misses         46       46           
  Partials       61       61           

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

Changing module-resolution to "Bundler" indeed solve all issues
@github-actions
Copy link
Copy Markdown

This PR has been released as part of rollup@4.9.6. You can test it via npm install rollup.

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