From a65dcd6f408e70df9440b09e90df716bfce7df9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Bruus=20Frank?= Date: Mon, 7 Jan 2019 11:48:33 +0100 Subject: [PATCH] Removed createProvider function. --- types/react-redux/index.d.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/types/react-redux/index.d.ts b/types/react-redux/index.d.ts index 408ef1ad9a..ff69f6b33d 100644 --- a/types/react-redux/index.d.ts +++ b/types/react-redux/index.d.ts @@ -420,15 +420,6 @@ export interface ProviderProps { */ export class Provider extends Component> { } -/** - * Creates a new which will set the Redux Store on the passed key of the context. You probably only need this - * if you are in the inadvisable position of having multiple stores. You will also need to pass the same storeKey to the - * options argument of connect. - * - * @param storeKey The key of the context on which to set the store. - */ -export function createProvider(storeKey: string): typeof Provider; - /** * Exposes the internal context used in react-redux. It is generally advised to use the connect HOC to connect to the * redux store instead of this approeach.