-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Bugfix/typescript typings #3913
Bugfix/typescript typings #3913
Conversation
ShikiSeiren
commented
Apr 5, 2022
- Updated index.d.ts typings
- Added missing interfaces and classes for all remaining files (excluding offline)
- Adjusted minor issues (wrong tags, inconsistent spelling...) in those files
…erfaces for BaseURL, Mpd, Period, AdaptationSet
…itialise' in various places to its american spelling for consistency
…operties; Rearranged order of interfaces/classes/types to reflect Explorer-Tree and commented accordingly
Hi,
Can they be fixed as part of this PR or is it better to create a dedicated PR to speed it up? |
…ipt-typings # Conflicts: # index.d.ts # package-lock.json # package.json # src/dash/DashHandler.js # src/streaming/MediaPlayer.js # src/streaming/metrics/utils/DVBErrorsTranslator.js
|
||
export type TrackSelectionFunction = (tracks: MediaInfo[]) => MediaInfo[]; | ||
|
||
export interface MediaPlayerClass { |
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.
the preload
-Method is Missing from this interface
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.
Thanks, added here: 54612bb