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:
Jakub Vrána
2020-03-10 14:40:46 +01:00
committed by Jakub Vrana
parent 3b97349f05
commit f722072807
15 changed files with 50 additions and 50 deletions

View File

@@ -215,7 +215,7 @@ Guacamole.SessionRecording = function SessionRecording(tunnel) {
* @param {Number} timestamp
* The timestamp to convert to a relative timestamp.
*
* @returns {Number}
* @returns {number}
* The difference in milliseconds between the given timestamp and the
* first frame of the recording, or zero if no frames yet exist.
*/
@@ -506,7 +506,7 @@ Guacamole.SessionRecording = function SessionRecording(tunnel) {
/**
* Returns whether playback is currently in progress.
*
* @returns {Boolean}
* @returns {boolean}
* true if playback is currently in progress, false otherwise.
*/
this.isPlaying = function isPlaying() {