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

feat: Custom types package based on @types/chrome #1332

Closed
wants to merge 3 commits into from

Conversation

aklinker1
Copy link
Collaborator

No description provided.

Copy link

codecov bot commented Jan 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.34%. Comparing base (4e4f99d) to head (50a676f).
Report is 4 commits behind head on 0.20.0-breaking-changes.

Additional details and impacted files
@@                     Coverage Diff                     @@
##           0.20.0-breaking-changes    #1332      +/-   ##
===========================================================
+ Coverage                    81.23%   81.34%   +0.10%     
===========================================================
  Files                          127      127              
  Lines                         6245     6244       -1     
  Branches                      1045     1046       +1     
===========================================================
+ Hits                          5073     5079       +6     
+ Misses                        1155     1148       -7     
  Partials                        17       17              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@@ -67,7 +67,11 @@ function getMessageSenderUrl(sender: browser.runtime.MessageSender): string { //
}
```

`@types/chrome` are more up-to-date, contain less bugs, and don't have any auto-generated names. So even if you continue to use the polyfill, you will need to update your types to use these types.
`@types/chrome` are more up-to-date and contain less bugs, but not all types do not have the same names. You will have to find the equivalent types in `@types/chrome` that you were using before.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but not all types do not have the same names

Double negative is confusing :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've rewritten this upgrade guide so many times.... Not surprising I missed something like this. Should be a single negative

@aklinker1
Copy link
Collaborator Author

Closed in favor of #1530

@aklinker1 aklinker1 closed this Mar 21, 2025
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.

2 participants