fix(types): mitigate devtools typing (#2099)

This commit is contained in:
Daishi Kato 2023-10-05 23:13:27 +09:00 committed by GitHub
parent e414f7ccf4
commit 73ffa4b7c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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' {