mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Mark defaultValue as optional for useScopeValueSetterOnly (#5695)
GitOrigin-RevId: e42cc48f3762e1a0369fe80ab1b9d7ccb237b3f1
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user