mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-02-07 23:20:46 +03:00
fix(redux-devtools): type MonitorState should extend LiftedState (#612)
This commit is contained in:
parent
0f51992b0b
commit
47af8c98ce
|
@ -37,7 +37,7 @@ interface Props<
|
||||||
export type Monitor<
|
export type Monitor<
|
||||||
S,
|
S,
|
||||||
A extends Action<unknown>,
|
A extends Action<unknown>,
|
||||||
MonitorProps,
|
MonitorProps extends LiftedState<S, A, MonitorState>,
|
||||||
MonitorState,
|
MonitorState,
|
||||||
MonitorAction extends Action<unknown>
|
MonitorAction extends Action<unknown>
|
||||||
> = React.ReactElement<
|
> = React.ReactElement<
|
||||||
|
@ -54,7 +54,7 @@ export type Monitor<
|
||||||
export default function createDevTools<
|
export default function createDevTools<
|
||||||
S,
|
S,
|
||||||
A extends Action<unknown>,
|
A extends Action<unknown>,
|
||||||
MonitorProps,
|
MonitorProps extends LiftedState<S, A, MonitorState>,
|
||||||
MonitorState,
|
MonitorState,
|
||||||
MonitorAction extends Action<unknown>
|
MonitorAction extends Action<unknown>
|
||||||
>(children: Monitor<S, A, MonitorProps, MonitorState, MonitorAction>) {
|
>(children: Monitor<S, A, MonitorProps, MonitorState, MonitorAction>) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user