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 c2f0049 commit 9611415Copy full SHA for 9611415
modules/entity/src/unsorted_state_adapter.ts
@@ -85,12 +85,12 @@ export function createUnsortedStateAdapter<T>(selectId: IdSelector<T>): any {
85
}
86
87
88
- function removeOneMutably(key: T, state: R): DidMutate;
+ function removeOneMutably(key: string | number, state: R): DidMutate;
89
function removeOneMutably(key: any, state: any): DidMutate {
90
return removeManyMutably([key], state);
91
92
93
- function removeManyMutably(keys: T[], state: R): DidMutate;
+ function removeManyMutably(keys: string[] | number[], state: R): DidMutate;
94
function removeManyMutably(predicate: Predicate<T>, state: R): DidMutate;
95
function removeManyMutably(
96
keysOrPredicate: any[] | Predicate<T>,
0 commit comments