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

fix(types): Minor fix for types #8466

Merged
merged 2 commits into from
Dec 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/js/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ class Component {
* @param {string|string[]} type
* An event name or an array of event names.
*
* @param {Function} fn
* The function to remove.
* @param {Function} [fn]
* The function to remove. If not specified, all listeners managed by Video.js will be removed.
*/
off(type, fn) {}

Expand Down Expand Up @@ -1843,7 +1843,7 @@ class Component {
* @param {string} name
* The Name of the component to get.
*
* @return {Component}
* @return {typeof Component}
* The `Component` that got registered under the given name.
*/
static getComponent(name) {
Expand Down