elgerlambert/redux-localstorage

Typescript definitions

vincaslt opened this issue · 1 comments

Definitions installed from @types/redux-localstorage seem to be either old or incorrect. I can't make sense of them:

export default function persistState<A>(storage?: StorageAdapter<A>, key?: string, callback?: Function): Redux.GenericStoreEnhancer;

This doesn't look like the function in doc examples.

Use redux-localstorage@rc.