mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-02-07 15:10:45 +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<
|
||||
S,
|
||||
A extends Action<unknown>,
|
||||
MonitorProps,
|
||||
MonitorProps extends LiftedState<S, A, MonitorState>,
|
||||
MonitorState,
|
||||
MonitorAction extends Action<unknown>
|
||||
> = React.ReactElement<
|
||||
|
@ -54,7 +54,7 @@ export type Monitor<
|
|||
export default function createDevTools<
|
||||
S,
|
||||
A extends Action<unknown>,
|
||||
MonitorProps,
|
||||
MonitorProps extends LiftedState<S, A, MonitorState>,
|
||||
MonitorState,
|
||||
MonitorAction extends Action<unknown>
|
||||
>(children: Monitor<S, A, MonitorProps, MonitorState, MonitorAction>) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user