mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Mark defaultValue as optional for useScopeValueSetterOnly (#5695)
GitOrigin-RevId: e42cc48f3762e1a0369fe80ab1b9d7ccb237b3f1
This commit is contained in:
parent
c5aee05320
commit
ed825e3170
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue