Trying to import from storage 'redux-persist/lib/storage' (import storage from 'redux-persist/lib/storage') but I catch an error:
Could not find a declaration file for module 'redux-persist/lib/storage'. '.../WebstormProjects/catalog/node_modules/redux-persist/lib/storage/index.js' implicitly has an 'any' type.
Try `npm install @types/redux-persist` if it exists or add a new declaration (.d.ts) file containing `declare module 'redux-persist/lib/storage'
@types/redux-persist established, though not necessary, redux-persist provides its own definitions of types
How to connect this library?