From 075e67e0e3b47c738b80bae4a880f580cb760398 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Tue, 18 Jan 2022 15:50:09 +0100 Subject: [PATCH] Correct return type in jsdoc block. --- assets/js/components/working_plan_exceptions_modal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/components/working_plan_exceptions_modal.js b/assets/js/components/working_plan_exceptions_modal.js index c78fb069..ff13a7b8 100644 --- a/assets/js/components/working_plan_exceptions_modal.js +++ b/assets/js/components/working_plan_exceptions_modal.js @@ -176,7 +176,7 @@ App.Components.WorkingPlanExceptionsModal = (function () { /** * Open the modal and start adding a new working plan exception. * - * @returns {jQuery.Deferred} + * @returns {*|jQuery.Deferred} */ function add() { deferred = $.Deferred(); @@ -196,7 +196,7 @@ App.Components.WorkingPlanExceptionsModal = (function () { * @param {String} date * @param {Object} workingPlanException * - * @return {jQuery.Deferred} + * @return {*|jQuery.Deferred} */ function edit(date, workingPlanException) { deferred = $.Deferred();