We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fb116b commit 4ef4cb8Copy full SHA for 4ef4cb8
src/utils/valueUtil.ts
@@ -24,7 +24,7 @@ export function setValue(store: Store, namePath: InternalNamePath, value: StoreV
24
return newStore;
25
}
26
27
-export function cloneByNamePathList(store: Store, namePathList: InternalNamePath[]) {
+export function cloneByNamePathList(store: Store, namePathList: InternalNamePath[]): Store {
28
let newStore = {};
29
namePathList.forEach(namePath => {
30
const value = getValue(store, namePath);
0 commit comments