From f2d5b2685e059fd986d6b034aed3bd8038d84f16 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Mon, 1 Apr 2024 16:10:27 +0300 Subject: [PATCH] jsdoc --- client/src/utils.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/client/src/utils.js b/client/src/utils.js index f32ffe17c7..280a74f93f 100644 --- a/client/src/utils.js +++ b/client/src/utils.js @@ -420,8 +420,9 @@ Espo.Utils = { /** * A shallow clone. * - * @param {*} obj An object. - * @returns {*} + * @template {*} TObject + * @param {TObject} obj An object. + * @returns {TObject} */ clone: function (obj) { if (!Espo.Utils.isObject(obj)) { @@ -434,8 +435,9 @@ Espo.Utils = { /** * A deep clone. * - * @param {*} data An object. - * @returns {*} + * @template {*} TObject + * @param {TObject} data An object. + * @returns {TObject} */ cloneDeep: function (data) { data = Espo.Utils.clone(data);