Skip to content

Commit

Permalink
fix(types): mitigate devtools typing
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-shi committed Oct 4, 2023
1 parent 13b4093 commit 4b62a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vanilla/utils/devtools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const DEVTOOLS = Symbol()
type Config = Parameters<
(Window extends { __REDUX_DEVTOOLS_EXTENSION__?: infer T }
? T
: any)['connect']
: { connect: (param: any) => any })['connect']
>[0]

type Options = {
Expand Down

0 comments on commit 4b62a0c

Please sign in to comment.