redux-persist icon indicating copy to clipboard operation
redux-persist copied to clipboard

PersistGate integration with Typescript

Open gnsslrrcs opened this issue 5 years ago • 3 comments
trafficstars

I could not use persist gate with TypeScript and React Native because of this error.

Could not find a declaration file for module 'redux-persist/integration/react'.

gnsslrrcs avatar Jul 17 '20 06:07 gnsslrrcs

I faced the same issue. I think no one is maintaining this repo anymore!

pchy10 avatar Jan 06 '22 13:01 pchy10

add /// <reference types="redux-persist" /> to your next-env.d.ts file and you should be fine. @gnsslrrcs @prosenjitalpine

algorithm-sam avatar Jun 23 '22 11:06 algorithm-sam

Solved for me: https://github.com/rt2zz/redux-persist/issues/1166#issuecomment-1767018708

saulojoab avatar Oct 17 '23 19:10 saulojoab