File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -29,20 +29,10 @@ export abstract class Dictionary<T> implements DictionaryNum<T> {
29
29
[ id : string ] : T | undefined
30
30
}
31
31
32
- export interface UpdateStr < T > {
33
- id : string
34
- changes : Partial < T >
35
- }
36
-
37
- export interface UpdateNum < T > {
38
- id : number
39
- changes : Partial < T >
40
- }
41
-
42
32
/**
43
33
* @alpha
44
34
*/
45
- export type Update < T > = UpdateStr < T > | UpdateNum < T >
35
+ export type Update < T > = { id : EntityId ; changes : Partial < T > }
46
36
47
37
/**
48
38
* @alpha
@@ -93,10 +83,6 @@ export interface EntityStateAdapter<T> {
93
83
state : S ,
94
84
keys : TypeOrPayloadAction < EntityId [ ] >
95
85
) : S
96
- removeMany < S extends EntityState < T > > (
97
- state : S ,
98
- keys : PayloadAction < number [ ] >
99
- ) : S
100
86
101
87
removeAll < S extends EntityState < T > > ( state : S ) : S
102
88
You can’t perform that action at this time.
0 commit comments