diff --git a/src/js/component.js b/src/js/component.js index 08c53ff8d2..3d7d2d8f20 100644 --- a/src/js/component.js +++ b/src/js/component.js @@ -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) {} @@ -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) {