From ed825e31706df5f883f2cfbf2cc7ef18936416d6 Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Thu, 4 Nov 2021 12:35:48 +0000 Subject: [PATCH] Mark defaultValue as optional for useScopeValueSetterOnly (#5695) GitOrigin-RevId: e42cc48f3762e1a0369fe80ab1b9d7ccb237b3f1 --- .../web/frontend/js/shared/hooks/use-scope-value-setter-only.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/frontend/js/shared/hooks/use-scope-value-setter-only.js b/services/web/frontend/js/shared/hooks/use-scope-value-setter-only.js index 05c2d1b864..763a518cfa 100644 --- a/services/web/frontend/js/shared/hooks/use-scope-value-setter-only.js +++ b/services/web/frontend/js/shared/hooks/use-scope-value-setter-only.js @@ -12,7 +12,7 @@ import _ from 'lodash' * the option of passing a function to the setter. * * @param {string} path - dot '.' path of a property in the Angular scope. - * @param {any} defaultValue + * @param {any} [defaultValue] * @returns {[any, function]} - value and setter function tuple. */ export default function useScopeValueSetterOnly(path, defaultValue) {