Update JSDoc from Array.<> to Array<>

Same with Object.
This commit is contained in:
Neil Fraser
2021-05-21 10:22:13 -07:00
committed by Neil Fraser
parent b50cb5779f
commit d919b0af21
76 changed files with 262 additions and 264 deletions

View File

@@ -264,7 +264,7 @@ Blockly.Blocks['procedures_defnoreturn'] = {
},
/**
* Return all variables referenced by this block.
* @return {!Array.<string>} List of variable names.
* @return {!Array<string>} List of variable names.
* @this {Blockly.Block}
*/
getVars: function() {
@@ -272,7 +272,7 @@ Blockly.Blocks['procedures_defnoreturn'] = {
},
/**
* Return all variables referenced by this block.
* @return {!Array.<!Blockly.VariableModel>} List of variable models.
* @return {!Array<!Blockly.VariableModel>} List of variable models.
* @this {Blockly.Block}
*/
getVarModels: function() {
@@ -634,8 +634,8 @@ Blockly.Blocks['procedures_callnoreturn'] = {
},
/**
* Notification that the procedure's parameters have changed.
* @param {!Array.<string>} paramNames New param names, e.g. ['x', 'y', 'z'].
* @param {!Array.<string>} paramIds IDs of params (consistent for each
* @param {!Array<string>} paramNames New param names, e.g. ['x', 'y', 'z'].
* @param {!Array<string>} paramIds IDs of params (consistent for each
* parameter through the life of a mutator, regardless of param renaming),
* e.g. ['piua', 'f8b_', 'oi.o'].
* @private
@@ -809,7 +809,7 @@ Blockly.Blocks['procedures_callnoreturn'] = {
},
/**
* Return all variables referenced by this block.
* @return {!Array.<string>} List of variable names.
* @return {!Array<string>} List of variable names.
* @this {Blockly.Block}
*/
getVars: function() {
@@ -817,7 +817,7 @@ Blockly.Blocks['procedures_callnoreturn'] = {
},
/**
* Return all variables referenced by this block.
* @return {!Array.<!Blockly.VariableModel>} List of variable models.
* @return {!Array<!Blockly.VariableModel>} List of variable models.
* @this {Blockly.Block}
*/
getVarModels: function() {