Skip to content

Commit 4ef4cb8

Browse files
ztplzzombieJ
authored andcommitted
Add miss return type (#18)
1 parent 8fb116b commit 4ef4cb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/valueUtil.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function setValue(store: Store, namePath: InternalNamePath, value: StoreV
2424
return newStore;
2525
}
2626

27-
export function cloneByNamePathList(store: Store, namePathList: InternalNamePath[]) {
27+
export function cloneByNamePathList(store: Store, namePathList: InternalNamePath[]): Store {
2828
let newStore = {};
2929
namePathList.forEach(namePath => {
3030
const value = getValue(store, namePath);

0 commit comments

Comments
 (0)