Skip to content

Commit 1fcae61

Browse files
committed
fix: Update JSDoc types in plus-minus procedure blocks
1 parent 1697654 commit 1fcae61

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugins/block-plus-minus/src/procedures.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ const procedureDefMutator = {
479479
/**
480480
* Returns true if the given argDatum is associated with this field, or has
481481
* a different caseless name than the argDatum associated with this field.
482-
* @param {{model: Blockly.VariableModel, argId:string}} argDatum The
482+
* @param {{model: Blockly.IVariableModel, argId:string}} argDatum The
483483
* argDatum we want to make sure does not conflict with the argDatum
484484
* associated with this field.
485485
* @returns {boolean} True if the given datum does not conflict with the
@@ -574,7 +574,7 @@ const procedureDefHelper = function () {
574574
* An array of objects containing data about the args belonging to the
575575
* procedure definition.
576576
* @type {!Array<{
577-
* model:Blockly.VariableModel,
577+
* model:Blockly.IVariableModel,
578578
* argId: string
579579
* }>}
580580
* @private
@@ -624,7 +624,7 @@ const procedureVars = function () {
624624

625625
/**
626626
* Return all variables referenced by this block.
627-
* @returns {!Array.<!Blockly.VariableModel>} List of variable models.
627+
* @returns {!Array.<!Blockly.IVariableModel>} List of variable models.
628628
* @this {Blockly.Block}
629629
*/
630630
getVarModels: function () {
@@ -659,7 +659,7 @@ const procedureVars = function () {
659659
/**
660660
* Notification that a variable is renaming but keeping the same ID. If the
661661
* variable is in use on this block, rerender to show the new name.
662-
* @param {!Blockly.VariableModel} variable The variable being renamed.
662+
* @param {!Blockly.IVariableModel} variable The variable being renamed.
663663
* @package
664664
* @override
665665
* @this {Blockly.Block}

0 commit comments

Comments
 (0)