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

Possible richer ConnectResponse type in '@redux-devtools/extension'

Open dai-shi opened this issue 3 years ago • 1 comments

Can ConnectResponse in '@redux-devtools/extension'

https://github.com/reduxjs/redux-devtools/blob/b82de745928211cd9b7daa7a61b197ad9e11ec36/packages/redux-devtools-extension/src/index.ts#L187-L190

be compatible with or imported from

https://github.com/reduxjs/redux-devtools/blob/b82de745928211cd9b7daa7a61b197ad9e11ec36/extension/src/app/api/index.ts#L522-L536

which seems more precise?

dai-shi avatar Feb 25 '22 14:02 dai-shi

Yes, good catch. Ideally we would share all the types, but I'm not sure how straightforward that will be. Feel free to open a PR to update them and/or share them. I'll try to get to around to it myself when I get a chance if you don't have time.

Methuselah96 avatar Feb 25 '22 14:02 Methuselah96