mirror of
				https://github.com/videojs/video.js.git
				synced 2025-10-31 00:08:01 +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:
		| @@ -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) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user