mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-22 06:00:07 +03:00
Fix imports
This commit is contained in:
parent
bc462b23cc
commit
d7e8f6bd7e
|
@ -6,7 +6,7 @@ import {
|
||||||
import { getActiveInstance } from '@redux-devtools/app/lib/reducers/instances';
|
import { getActiveInstance } from '@redux-devtools/app/lib/reducers/instances';
|
||||||
import { Dispatch, MiddlewareAPI } from 'redux';
|
import { Dispatch, MiddlewareAPI } from 'redux';
|
||||||
import { StoreState } from '@redux-devtools/app/lib/reducers';
|
import { StoreState } from '@redux-devtools/app/lib/reducers';
|
||||||
import { StoreAction } from '@redux-devtools/app/lib/src/actions';
|
import { StoreAction } from '@redux-devtools/app/lib/actions';
|
||||||
|
|
||||||
function panelDispatcher(bgConnection: chrome.runtime.Port) {
|
function panelDispatcher(bgConnection: chrome.runtime.Port) {
|
||||||
let autoselected = false;
|
let autoselected = false;
|
||||||
|
|
|
@ -18,7 +18,7 @@ import theme, { ThemeState } from '@redux-devtools/app/lib/reducers/theme';
|
||||||
import connection, {
|
import connection, {
|
||||||
ConnectionState,
|
ConnectionState,
|
||||||
} from '@redux-devtools/app/lib/reducers/connection';
|
} from '@redux-devtools/app/lib/reducers/connection';
|
||||||
import { StoreAction } from '@redux-devtools/app/lib/src/actions';
|
import { StoreAction } from '@redux-devtools/app/lib/actions';
|
||||||
|
|
||||||
export interface StoreStateWithoutSocket {
|
export interface StoreStateWithoutSocket {
|
||||||
readonly section: SectionState;
|
readonly section: SectionState;
|
||||||
|
@ -30,10 +30,8 @@ export interface StoreStateWithoutSocket {
|
||||||
readonly notification: NotificationState;
|
readonly notification: NotificationState;
|
||||||
}
|
}
|
||||||
|
|
||||||
const rootReducer: Reducer<
|
const rootReducer: Reducer<StoreStateWithoutSocket, StoreAction> =
|
||||||
StoreStateWithoutSocket,
|
combineReducers<StoreStateWithoutSocket>({
|
||||||
StoreAction
|
|
||||||
> = combineReducers<StoreStateWithoutSocket>({
|
|
||||||
instances,
|
instances,
|
||||||
monitor,
|
monitor,
|
||||||
reports,
|
reports,
|
||||||
|
@ -41,6 +39,6 @@ const rootReducer: Reducer<
|
||||||
section,
|
section,
|
||||||
theme,
|
theme,
|
||||||
connection,
|
connection,
|
||||||
});
|
});
|
||||||
|
|
||||||
export default rootReducer;
|
export default rootReducer;
|
||||||
|
|
|
@ -9,7 +9,7 @@ import getPreloadedState from '../background/getPreloadedState';
|
||||||
import '../../views/devpanel.pug';
|
import '../../views/devpanel.pug';
|
||||||
import { Action, PreloadedState, Store } from 'redux';
|
import { Action, PreloadedState, Store } from 'redux';
|
||||||
import { StoreState } from '@redux-devtools/app/lib/reducers';
|
import { StoreState } from '@redux-devtools/app/lib/reducers';
|
||||||
import { StoreAction } from '@redux-devtools/app/lib/src/actions';
|
import { StoreAction } from '@redux-devtools/app/lib/actions';
|
||||||
import { PanelMessage } from '../../../app/middlewares/api';
|
import { PanelMessage } from '../../../app/middlewares/api';
|
||||||
import { StoreStateWithoutSocket } from '../../../app/reducers/panel';
|
import { StoreStateWithoutSocket } from '../../../app/reducers/panel';
|
||||||
|
|
||||||
|
@ -21,9 +21,7 @@ const messageStyle: CSSProperties = {
|
||||||
};
|
};
|
||||||
|
|
||||||
let rendered: boolean | undefined;
|
let rendered: boolean | undefined;
|
||||||
let store:
|
let store: Store<StoreStateWithoutSocket, StoreAction> | undefined;
|
||||||
| Store<StoreStateWithoutSocket, StoreAction>
|
|
||||||
| undefined;
|
|
||||||
let bgConnection: chrome.runtime.Port;
|
let bgConnection: chrome.runtime.Port;
|
||||||
let naTimeout: NodeJS.Timeout;
|
let naTimeout: NodeJS.Timeout;
|
||||||
let preloadedState: PreloadedState<StoreState>;
|
let preloadedState: PreloadedState<StoreState>;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user