Mark defaultValue as optional for useScopeValueSetterOnly (#5695)

GitOrigin-RevId: e42cc48f3762e1a0369fe80ab1b9d7ccb237b3f1
This commit is contained in:
Alf Eaton 2021-11-04 12:35:48 +00:00 committed by Copybot
parent c5aee05320
commit ed825e3170

View file

@ -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) {