Skip to content

Commit d734c9b

Browse files
committed
Format
1 parent 51afe32 commit d734c9b

File tree

12 files changed

+50
-31
lines changed

12 files changed

+50
-31
lines changed

packages/redux-devtools-chart-monitor/src/Chart.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ const wrapperStyle = {
1313
};
1414

1515
export interface Props<S, A extends Action<string>>
16-
extends LiftedState<S, A, ChartMonitorState>,
17-
Options {
16+
extends LiftedState<S, A, ChartMonitorState>, Options {
1817
dispatch: Dispatch<LiftedAction<S, A, ChartMonitorState>>;
1918
preserveScrollTop: boolean;
2019
select: (state: S) => unknown;

packages/redux-devtools-chart-monitor/src/ChartMonitor.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ function invertColors(theme: Base16Theme) {
4141
}
4242

4343
export interface ChartMonitorProps<S, A extends Action<string>>
44-
extends LiftedState<S, A, ChartMonitorState>,
45-
Options {
44+
extends LiftedState<S, A, ChartMonitorState>, Options {
4645
dispatch: Dispatch<LiftedAction<S, A, ChartMonitorState>>;
4746
preserveScrollTop: boolean;
4847
select: (state: S) => unknown;

packages/redux-devtools-dock-monitor/src/DockMonitor.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,10 @@ interface DefaultProps {
4444
fluid: boolean;
4545
}
4646

47-
export interface DockMonitorProps<S, A extends Action<string>>
48-
extends LiftedState<S, A, DockMonitorState> {
47+
export interface DockMonitorProps<
48+
S,
49+
A extends Action<string>,
50+
> extends LiftedState<S, A, DockMonitorState> {
4951
defaultPosition: 'left' | 'top' | 'right' | 'bottom';
5052
defaultIsVisible: boolean;
5153
defaultSize: number;

packages/redux-devtools-inspector-monitor-test-tab/demo/src/DemoApp.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@ const styles: {
4848

4949
const ROOT = '/'; // process.env.NODE_ENV === 'production' ? '/' : '/';
5050

51-
interface Props
52-
extends Omit<DemoAppState, 'addFunction' | 'addSymbol' | 'shuffleArray'> {
51+
interface Props extends Omit<
52+
DemoAppState,
53+
'addFunction' | 'addSymbol' | 'shuffleArray'
54+
> {
5355
toggleTimeoutUpdate: (timeoutUpdateEnabled: boolean) => void;
5456
timeoutUpdate: () => void;
5557
increment: () => void;

packages/redux-devtools-inspector-monitor-test-tab/src/TestGenerator.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,10 @@ export function compare<S>(
5959
).forEach(generate);
6060
}
6161

62-
interface Props<S, A extends Action<string>>
63-
extends Omit<TabComponentProps<S, A>, 'monitorState' | 'updateMonitorState'> {
62+
interface Props<S, A extends Action<string>> extends Omit<
63+
TabComponentProps<S, A>,
64+
'monitorState' | 'updateMonitorState'
65+
> {
6466
name?: string;
6567
isVanilla?: boolean;
6668
wrap?: string | ((locals: WrapLocals) => string);

packages/redux-devtools-inspector-monitor/demo/src/DemoApp.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,10 @@ function buildUrl(options: Options) {
119119
);
120120
}
121121

122-
interface Props
123-
extends Omit<DemoAppState, 'addFunction' | 'addSymbol' | 'shuffleArray'> {
122+
interface Props extends Omit<
123+
DemoAppState,
124+
'addFunction' | 'addSymbol' | 'shuffleArray'
125+
> {
124126
toggleTimeoutUpdate: (timeoutUpdateEnabled: boolean) => void;
125127
timeoutUpdate: () => void;
126128
increment: () => void;

packages/redux-devtools-inspector-monitor/src/DevtoolsInspector.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,10 @@ interface DefaultProps {
144144
invertTheme: boolean;
145145
}
146146

147-
export interface DevtoolsInspectorProps<S, A extends Action<string>>
148-
extends LiftedState<S, A, DevtoolsInspectorState> {
147+
export interface DevtoolsInspectorProps<
148+
S,
149+
A extends Action<string>,
150+
> extends LiftedState<S, A, DevtoolsInspectorState> {
149151
dispatch: Dispatch<
150152
DevtoolsInspectorAction | LiftedAction<S, A, DevtoolsInspectorState>
151153
>;

packages/redux-devtools-log-monitor/src/LogMonitor.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,10 @@ interface DefaultProps<S> {
6464
markStateDiff: boolean;
6565
}
6666

67-
export interface LogMonitorProps<S, A extends Action<string>>
68-
extends LiftedState<S, A, LogMonitorState> {
67+
export interface LogMonitorProps<
68+
S,
69+
A extends Action<string>,
70+
> extends LiftedState<S, A, LogMonitorState> {
6971
dispatch: Dispatch<LogMonitorAction | LiftedAction<S, A, LogMonitorState>>;
7072

7173
preserveScrollTop: boolean;

packages/redux-devtools-rtk-query-monitor/src/components/TreeView.tsx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@ import { getJsonTreeTheme, StyleUtilsContext } from '../styles/themes';
66
import { getItemString, labelRenderer } from '../styles/tree';
77
import { identity } from '../utils/object';
88

9-
export interface TreeViewProps
10-
extends Partial<
11-
Pick<
12-
ComponentProps<typeof JSONTree>,
13-
'keyPath' | 'shouldExpandNodeInitially' | 'hideRoot'
14-
>
15-
> {
9+
export interface TreeViewProps extends Partial<
10+
Pick<
11+
ComponentProps<typeof JSONTree>,
12+
'keyPath' | 'shouldExpandNodeInitially' | 'hideRoot'
13+
>
14+
> {
1615
data: unknown;
1716
isWideLayout: boolean;
1817
before?: ReactNode;

packages/redux-devtools-rtk-query-monitor/src/containers/RtkQueryInspector.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ type ForwardedMonitorProps<S, A extends Action<string>> = Pick<
2323
'monitorState' | 'currentStateIndex' | 'computedStates' | 'actionsById'
2424
>;
2525

26-
export interface RtkQueryInspectorProps<S, A extends Action<string>>
27-
extends ForwardedMonitorProps<S, A> {
26+
export interface RtkQueryInspectorProps<
27+
S,
28+
A extends Action<string>,
29+
> extends ForwardedMonitorProps<S, A> {
2830
dispatch: Dispatch<LiftedAction<S, A, RtkQueryMonitorState>>;
2931
}
3032

0 commit comments

Comments
 (0)