Skip to content

Commit d094cbb

Browse files
authored
Get rid of AnyAction
The AnyAction type isn't needed any more; just use Action with no type parameters. This also resolves reduxjs#2508.
1 parent c7f584b commit d094cbb

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

index.d.ts

-11
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,6 @@ export interface Action<T = any> {
2020
type: T;
2121
}
2222

23-
/**
24-
* An Action type which accepts any other properties.
25-
* This is not part of `Action` itself to prevent users who are extending `Action`.
26-
* @private
27-
*/
28-
export interface AnyAction extends Action {
29-
// Allows any extra properties to be defined in an action.
30-
[extraProps: string]: any;
31-
}
32-
33-
3423
/* reducers */
3524

3625
/**

0 commit comments

Comments
 (0)