Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Chocobozzz
Copy link
Contributor

@Chocobozzz Chocobozzz commented Aug 12, 2025

Description

Prevent

Property 'setIcon' in type 'MenuButton' is not assignable to the same property in base type 'Component'.
  Type '(name: string) => void' is not assignable to type '(iconName: string, el?: Element) => Element'.
    Type 'void' is not assignable to type 'Element'.

71     setIcon(name: string): void;

Typescript error

Specific Changes proposed

Fix typings

Requirements Checklist

  • Feature implemented / Bug fixed
  • If necessary, more likely in a feature request than a bug fix
    • Change has been verified in an actual browser (Chrome, Firefox, IE)
    • Unit Tests updated or fixed
    • Docs/guides updated
    • Example created (starter template on JSBin)
    • Has no DOM changes which impact accessiblilty or trigger warnings (e.g. Chrome issues tab)
    • Has no changes to JSDoc which cause npm run docs:api to error
  • Reviewed by Two Core Contributors

@codecov
Copy link

codecov bot commented Aug 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.92%. Comparing base (8e4ec97) to head (5a8e8c9).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9089      +/-   ##
==========================================
+ Coverage   84.31%   84.92%   +0.61%     
==========================================
  Files         120      120              
  Lines        8154     8154              
  Branches     1964     1964              
==========================================
+ Hits         6875     6925      +50     
+ Misses       1279     1229      -50     

☔ 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.

Chocobozzz added a commit to Chocobozzz/PeerTube that referenced this pull request Sep 12, 2025
Copy link

@jeffy53 jeffy53 left a comment

Choose a reason for hiding this comment

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

We good

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