From 954899f4c79845eb1dd7fc1d26f8013df16ee2f7 Mon Sep 17 00:00:00 2001 From: Beka Westberg Date: Thu, 12 Jan 2023 20:53:41 +0000 Subject: [PATCH] chore: fix closure type errors (#6766) --- blocks/procedures.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/blocks/procedures.js b/blocks/procedures.js index c5b7a6307..e2d4147af 100644 --- a/blocks/procedures.js +++ b/blocks/procedures.js @@ -942,7 +942,8 @@ const procedureCallerGetDefMixin = function() { /** * @param {string} name The name of the procedure model to find. - * @param {string[]} params The param names of the procedure model to find. + * @param {Array} params The param names of the procedure model + * to find. * @return {IProcedureModel} The procedure model that was found. */ findProcedureModel_(name, params = []) { @@ -1308,7 +1309,7 @@ const procedureCallerOnChangeMixin = { * Creates a procedure definition block with the given name and params, * and returns the procedure model associated with it. * @param {string} name The name of the procedure to create. - * @param {string[]} params The names of the parameters to create. + * @param {Array} params The names of the parameters to create. * @return {IProcedureModel} The procedure model associated with the new * procedure definition block. */