-
Notifications
You must be signed in to change notification settings - Fork 102
partially resolve strict TypeScript config issues (many still remaining) #1183
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
base: main
Are you sure you want to change the base?
partially resolve strict TypeScript config issues (many still remaining) #1183
Conversation
@ronalduQualabs is attempting to deploy a commit to the Mux Team on Vercel. A member of the Team first needs to authorize it. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1183 +/- ##
==========================================
- Coverage 78.55% 75.28% -3.28%
==========================================
Files 59 54 -5
Lines 11080 13132 +2052
Branches 0 765 +765
==========================================
+ Hits 8704 9886 +1182
- Misses 2376 3216 +840
- Partials 0 30 +30 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
const controller = getMediaController(this); | ||
if (!controller) return null; | ||
return controller.querySelector('media-settings-menu') as HTMLElement | null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same for this, could be done as in the media-rendition-menu-button
src/js/media-preview-thumbnail.ts
Outdated
import { MediaUIAttributes } from './constants.js'; | ||
import { MediaStateReceiverAttributes } from './constants.js'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import { MediaUIAttributes } from './constants.js'; | |
import { MediaStateReceiverAttributes } from './constants.js'; | |
import { | |
MediaUIAttributes, | |
MediaStateReceiverAttributes, | |
} from './constants.js'; |
This PR addresses several of the type errors surfaced when enabling TypeScript's
strict
configuration, moving the project closer to fullstrict
compliance.There are still a number of type violations remaining.