From 1fcae61daec855db3d0ae9ff66777274a90535e3 Mon Sep 17 00:00:00 2001 From: Aaron Dodson Date: Tue, 20 Jan 2026 13:48:09 -0800 Subject: [PATCH] fix: Update JSDoc types in plus-minus procedure blocks --- plugins/block-plus-minus/src/procedures.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/block-plus-minus/src/procedures.js b/plugins/block-plus-minus/src/procedures.js index ebacfdbcb..40f939039 100644 --- a/plugins/block-plus-minus/src/procedures.js +++ b/plugins/block-plus-minus/src/procedures.js @@ -479,7 +479,7 @@ const procedureDefMutator = { /** * Returns true if the given argDatum is associated with this field, or has * a different caseless name than the argDatum associated with this field. - * @param {{model: Blockly.VariableModel, argId:string}} argDatum The + * @param {{model: Blockly.IVariableModel, argId:string}} argDatum The * argDatum we want to make sure does not conflict with the argDatum * associated with this field. * @returns {boolean} True if the given datum does not conflict with the @@ -574,7 +574,7 @@ const procedureDefHelper = function () { * An array of objects containing data about the args belonging to the * procedure definition. * @type {!Array<{ - * model:Blockly.VariableModel, + * model:Blockly.IVariableModel, * argId: string * }>} * @private @@ -624,7 +624,7 @@ const procedureVars = function () { /** * Return all variables referenced by this block. - * @returns {!Array.} List of variable models. + * @returns {!Array.} List of variable models. * @this {Blockly.Block} */ getVarModels: function () { @@ -659,7 +659,7 @@ const procedureVars = function () { /** * Notification that a variable is renaming but keeping the same ID. If the * variable is in use on this block, rerender to show the new name. - * @param {!Blockly.VariableModel} variable The variable being renamed. + * @param {!Blockly.IVariableModel} variable The variable being renamed. * @package * @override * @this {Blockly.Block}