mirror of
https://github.com/videojs/video.js.git
synced 2025-01-02 06:32:07 +02:00
fix(types): Minor fix for types (#8466)
* fix 2 minor types * Update component.js Co-authored-by: mister-ben <git@misterben.me> --------- Co-authored-by: mister-ben <git@misterben.me>
This commit is contained in:
parent
8cdb228654
commit
a6a0f577e1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user