mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 00:19:55 +03:00
slider-monitor
This commit is contained in:
parent
842c2bbabf
commit
d099ed4809
|
@ -21,7 +21,7 @@ import SliderButton from './SliderButton';
|
|||
const { reset, jumpToAction } = ActionCreators;
|
||||
|
||||
interface ExternalProps<S, A extends Action<string>> {
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
||||
dispatch: Dispatch<LiftedAction<S, A, {}>>;
|
||||
preserveScrollTop: boolean;
|
||||
select: (state: S) => unknown;
|
||||
|
@ -37,9 +37,9 @@ interface DefaultProps {
|
|||
keyboardEnabled: boolean;
|
||||
}
|
||||
|
||||
interface SliderMonitorProps<S, A extends Action<string>> // eslint-disable-next-line @typescript-eslint/ban-types
|
||||
interface SliderMonitorProps<S, A extends Action<string>> // eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
||||
extends LiftedState<S, A, {}> {
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
||||
dispatch: Dispatch<LiftedAction<S, A, {}>>;
|
||||
preserveScrollTop: boolean;
|
||||
select: (state: S) => unknown;
|
||||
|
@ -376,10 +376,10 @@ export default SliderMonitor as unknown as React.ComponentType<
|
|||
> & {
|
||||
update(
|
||||
monitorProps: ExternalProps<unknown, Action<string>>,
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
||||
state: {} | undefined,
|
||||
action: Action<string>,
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
||||
): {};
|
||||
defaultProps: DefaultProps;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user