mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 19:51:53 +00:00
Changed context prop of Provider to Context<any> to reflect that initial context doesn't matter, as it is overwritten internally in Provider on instantiation.
This commit is contained in:
Vendored
+3
-3
@@ -402,10 +402,10 @@ export interface ProviderProps<A extends Action = AnyAction> {
|
||||
*/
|
||||
store: Store<any, A>;
|
||||
/**
|
||||
* Optional context to be used internally in react-redux. Initial value doesn't matter, as it is overwritten with the
|
||||
* internal state of Provider.
|
||||
* Optional context to be used internally in react-redux. Use React.createContext() to create a context to be used.
|
||||
* Initial value doesn't matter, as it is overwritten with the internal state of Provider.
|
||||
*/
|
||||
context?: Context<ReactReduxContextType<any, A>>;
|
||||
context?: Context<any>;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user