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

@@ -65,7 +65,7 @@ Guacamole.StringReader = function(stream) {
*
* @private
* @param {ArrayBuffer} buffer Arbitrary UTF-8 data.
* @return {String} A decoded Unicode string.
* @return {string} A decoded Unicode string.
*/
function __decode_utf8(buffer) {