Skip to content

Commit

Permalink
fix(types): mitigate devtools typing (#2099)
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-shi committed Oct 5, 2023
1 parent e414f7c commit 73ffa4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middleware/devtools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' {
Expand Down

1 comment on commit 73ffa4b

@vercel
Copy link

@vercel vercel bot commented on 73ffa4b Oct 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.