diff --git a/types/index.d.ts b/types/index.d.ts index 801a1f70c..0b7d8b806 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -23,7 +23,7 @@ // This is not single module. There are many module included by reference directives. // tslint:disable-next-line: no-single-declare-module -declare module "redux-persist" { +declare module "@kompot/redux-persist" { export { default as persistReducer } from 'redux-persist/es/persistReducer'; export { default as persistCombineReducers } from 'redux-persist/es/persistCombineReducers'; export { default as persistStore } from 'redux-persist/es/persistStore'; diff --git a/types/integration/react.d.ts b/types/integration/react.d.ts index 7c467506b..b0825422f 100644 --- a/types/integration/react.d.ts +++ b/types/integration/react.d.ts @@ -1,4 +1,4 @@ -declare module "redux-persist/integration/react" { +declare module "@kompot/redux-persist/integration/react" { import { ReactNode, PureComponent } from "react"; import { Persistor } from "redux-persist/es/types"; diff --git a/types/stateReconciler/autoMergeLevel1.d.ts b/types/stateReconciler/autoMergeLevel1.d.ts index 086e6d23a..75acf2b9e 100644 --- a/types/stateReconciler/autoMergeLevel1.d.ts +++ b/types/stateReconciler/autoMergeLevel1.d.ts @@ -1,5 +1,5 @@ declare module "redux-persist/es/stateReconciler/autoMergeLevel1" { - import { PersistConfig } from "redux-persist"; + import { PersistConfig } from "@kompot/redux-persist"; // tslint:disable-next-line: strict-export-declare-modifiers export default function autoMergeLevel1(inboundState: S, originalState: S, reducedState: S, config: PersistConfig): S; diff --git a/types/stateReconciler/autoMergeLevel2.d.ts b/types/stateReconciler/autoMergeLevel2.d.ts index c8c218798..2c990f95e 100644 --- a/types/stateReconciler/autoMergeLevel2.d.ts +++ b/types/stateReconciler/autoMergeLevel2.d.ts @@ -1,5 +1,5 @@ declare module "redux-persist/es/stateReconciler/autoMergeLevel2" { - import { PersistConfig } from "redux-persist"; + import { PersistConfig } from "@kompot/redux-persist"; // tslint:disable-next-line: strict-export-declare-modifiers export default function autoMergeLevel2(inboundState: S, originalState: S, reducedState: S, config: PersistConfig): S; diff --git a/types/stateReconciler/hardSet.d.ts b/types/stateReconciler/hardSet.d.ts index 739c6a686..a7c031324 100644 --- a/types/stateReconciler/hardSet.d.ts +++ b/types/stateReconciler/hardSet.d.ts @@ -1,5 +1,5 @@ declare module "redux-persist/es/stateReconciler/hardSet" { - import { PersistConfig } from "redux-persist"; + import { PersistConfig } from "@kompot/redux-persist"; // tslint:disable-next-line: strict-export-declare-modifiers export default function hardSet(inboundState: S): S;