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

Update index.d.ts

Open Geogi opened this issue 6 years ago • 1 comments
trafficstars

Fix PersistorConfig => PersistConfig.

No such type is exposed by redux-persist, any app using redux-persist-transform-compress with TypeScript fails to build. It is listed in the docs so at some point it may have been public, but its properties are very different from those expected by redux-persist-transform-compress: one prop enhancer but no whitelist or blacklist, both of which the README of redux-persist-transform-compress uses. PersistConfig has them though.

I'm new to these libraries. I did test what I could but don't consider it thorough.

Geogi avatar Dec 03 '18 12:12 Geogi

This is actually a duplicate of #6, I didn't notice.

Geogi avatar Dec 03 '18 12:12 Geogi