Skip to content

Commit 32ac7e6

Browse files
joshburgesstimdorr
authored andcommitted
Fix AnyAction comment in index.d.ts (reduxjs#3316)
This PR replaces an accidentally incomplete comment above the `AnyAction` which was previously accidentally merged.
1 parent 21b5c51 commit 32ac7e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.d.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ export interface Action<T = any> {
2222
/**
2323
* An Action type which accepts any other properties.
2424
* This is mainly for the use of the `Reducer` type.
25-
* This is not part of `Action` itself to prevent users who are extending `Action.
25+
* This is not part of `Action` itself to prevent types that extend `Action` from
26+
* having an index signature.
2627
*/
2728
export interface AnyAction extends Action {
2829
// Allows any extra properties to be defined in an action.

0 commit comments

Comments
 (0)