GUACAMOLE-986: Update documentation of all parameters/returns to specify non-nullable and/or primitive types where appropriate.

This commit is contained in:
Michael Jumper committed 2021-12-18 23:03:57 -08:00
1 parent 7d92822441
commit 1ca1161a68
32 files changed
+1636 -977

No files matched your search

@@ -35,7 +35,7 @@ Guacamole.InputSink = function InputSink() {
* Reference to this instance of Guacamole.InputSink.
*
* @private
* @type {Guacamole.InputSink}
* @type {!Guacamole.InputSink}
*/
var sink = this;
@@ -43,7 +43,7 @@ Guacamole.InputSink = function InputSink() {
* The underlying input field, styled to be invisible.
*
* @private
* @type {Element}
* @type {!Element}
*/
var field = document.createElement('textarea');
field.style.position = 'fixed';
@@ -100,7 +100,8 @@ Guacamole.InputSink = function InputSink() {
* Returns the underlying input field. This input field MUST be manually
* added to the DOM for the Guacamole.InputSink to have any effect.
*
* @returns {Element}
* @returns {!Element}
* The underlying input field.
*/
this.getElement = function getElement() {
return field;