redux-form/v4: Fix missing type argument to Reducer (#27542)

This commit is contained in:
Andy
2018-07-27 08:59:06 -07:00
committed by GitHub
parent 270cd04a6a
commit 21aee9586c

View File

@@ -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>;
};