Skip to content
Myr

fix(devtools): correct redux devtools config type extension (#3414)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Grigoriy Reshetniak · committed by GitHub · parent 6213fc1 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/middleware/devtools.ts+1 added-1 removed
7 unmodified lines
89type Config = Parameters<10 (Window extends { __REDUX_DEVTOOLS_EXTENSION__?: infer T }11 ? T12 : { connect: (param: object) => object })['connect']12 : { connect: (param: any) => unknown })['connect']13>[0]1415declare module '../vanilla' {16 // eslint-disable-next-line @typescript-eslint/no-unused-vars
421 unmodified lines