mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
fix(types): mitigate devtools typing (#2099)
This commit is contained in:
parent
e414f7ccf4
commit
73ffa4b7c6
@ -8,7 +8,7 @@ import type {
|
||||
type Config = Parameters<
|
||||
(Window extends { __REDUX_DEVTOOLS_EXTENSION__?: infer T }
|
||||
? T
|
||||
: any)['connect']
|
||||
: { connect: (param: any) => any })['connect']
|
||||
>[0]
|
||||
|
||||
declare module '../vanilla' {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user