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

Remove MediaPlayerEvents duplicate in index.d.ts #4349

Conversation

kris-youview
Copy link
Contributor

Currently index.d.ts has a duplicate and slightly overlapping definition of MediaPlayerEvents interface. Although allowed in Typescript which merges both definitions, it seems to be a needless and confusing duplication. This commit removes the duplication and replaces it with a union of duplicated interface definitions.

Currently `index.d.ts` has a duplicate and slightly overlapping
definition of `MediaPlayerEvents` interface.  Although allowed in
Typescript which merges both definitions, it seems to be a needless and
confusing duplication.  This commit removes the duplication and replaces
it with a union of duplicated interface definitions.
@dsilhavy dsilhavy self-requested a review January 8, 2024 17:13
@dsilhavy dsilhavy added this to the 4.7.4 milestone Jan 8, 2024
@dsilhavy dsilhavy merged commit ff3afd1 into Dash-Industry-Forum:development Jan 10, 2024
3 checks passed
@kris-youview kris-youview deleted the kris/media-player-events-duplicate branch January 10, 2024 13:24
eirikbjornr pushed a commit to bbc/dash.js that referenced this pull request Feb 14, 2024
…#4349)

Currently `index.d.ts` has a duplicate and slightly overlapping
definition of `MediaPlayerEvents` interface.  Although allowed in
Typescript which merges both definitions, it seems to be a needless and
confusing duplication.  This commit removes the duplication and replaces
it with a union of duplicated interface definitions.
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.

None yet

2 participants