mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-28 16:45:10 +08:00
redux-form/v4: Fix missing type argument to Reducer (#27542)
This commit is contained in:
4
types/redux-form/v4/index.d.ts
vendored
4
types/redux-form/v4/index.d.ts
vendored
@@ -464,7 +464,7 @@ export declare const reducer: {
|
||||
[formName: string]: {
|
||||
[fieldName: string]: Normalizer
|
||||
}
|
||||
}): Reducer;
|
||||
}): Reducer<any>;
|
||||
|
||||
/**
|
||||
* Returns a form reducer that will also pass each action through
|
||||
@@ -473,5 +473,5 @@ export declare const reducer: {
|
||||
* passed to each reducer will only be the slice that pertains to that
|
||||
* form.
|
||||
*/
|
||||
plugin(reducers: { [formName: string]: Reducer }): Reducer;
|
||||
plugin(reducers: { [formName: string]: Reducer<any> }): Reducer<any>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user