Skip to content

Commit 5c9d390

Browse files
committed
chore: Remove StoreBaseValue, it's useless
close #41
1 parent 2aa605a commit 5c9d390

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/interface.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import { ReducerAction } from './useForm';
44
export type InternalNamePath = (string | number)[];
55
export type NamePath = string | number | InternalNamePath;
66

7-
type StoreBaseValue = string | number | boolean;
8-
export type StoreValue = StoreBaseValue | Store | StoreBaseValue[];
7+
export type StoreValue = any;
98
export interface Store {
109
[name: string]: StoreValue;
1110
}

0 commit comments

Comments
 (0)