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> {
2929 [ id : string ] : T | undefined
3030}
3131
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-
4232/**
4333 * @alpha
4434 */
45- export type Update < T > = UpdateStr < T > | UpdateNum < T >
35+ export type Update < T > = { id : EntityId ; changes : Partial < T > }
4636
4737/**
4838 * @alpha
@@ -93,10 +83,6 @@ export interface EntityStateAdapter<T> {
9383 state : S ,
9484 keys : TypeOrPayloadAction < EntityId [ ] >
9585 ) : S
96- removeMany < S extends EntityState < T > > (
97- state : S ,
98- keys : PayloadAction < number [ ] >
99- ) : S
10086
10187 removeAll < S extends EntityState < T > > ( state : S ) : S
10288
You can’t perform that action at this time.
0 commit comments