mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +00:00
GUACAMOLE-986: Add non-nullable modifier to return type of functions never returning null
Alternatively use a primitive type instead of nullable boxed type.
This commit is contained in:
@@ -50,7 +50,7 @@ Guacamole.VideoPlayer = function VideoPlayer() {
|
||||
* @param {String} mimetype
|
||||
* The mimetype to check.
|
||||
*
|
||||
* @returns {Boolean}
|
||||
* @returns {boolean}
|
||||
* true if the given mimetype is supported by any built-in
|
||||
* Guacamole.VideoPlayer, false otherwise.
|
||||
*/
|
||||
@@ -68,7 +68,7 @@ Guacamole.VideoPlayer.isSupportedType = function isSupportedType(mimetype) {
|
||||
* mimetypes themselves will be listed. Any mimetype parameters, even required
|
||||
* ones, will not be included in the list.
|
||||
*
|
||||
* @returns {String[]}
|
||||
* @returns {string[]}
|
||||
* A list of all mimetypes supported by any built-in Guacamole.VideoPlayer,
|
||||
* excluding any parameters.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user