Convert utils/reduxDevToolsConfig to TS
Reviewed By: danielbuechele Differential Revision: D16710475 fbshipit-source-id: 8b2a9e9592354702f6ea5bfb777635fff4e0220b
This commit is contained in:
committed by
Facebook Github Bot
parent
9b6f3684cb
commit
aab92446b4
@@ -19,7 +19,7 @@ import reducers from './reducers/index.tsx';
|
|||||||
import dispatcher from './dispatcher/index.tsx';
|
import dispatcher from './dispatcher/index.tsx';
|
||||||
import TooltipProvider from './ui/components/TooltipProvider.js';
|
import TooltipProvider from './ui/components/TooltipProvider.js';
|
||||||
import config from './utils/processConfig.js';
|
import config from './utils/processConfig.js';
|
||||||
import {stateSanitizer} from './utils/reduxDevToolsConfig.js';
|
import {stateSanitizer} from './utils/reduxDevToolsConfig.tsx';
|
||||||
import {initLauncherHooks} from './utils/launcher.js';
|
import {initLauncherHooks} from './utils/launcher.js';
|
||||||
import initCrashReporter from './utils/electronCrashReporter';
|
import initCrashReporter from './utils/electronCrashReporter';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
* @format
|
* @format
|
||||||
*/
|
*/
|
||||||
import {State} from '../reducers/index.tsx';
|
import {State} from '../reducers/index';
|
||||||
import type {DeviceExport} from '../devices/BaseDevice.tsx';
|
import {DeviceExport} from '../devices/BaseDevice';
|
||||||
|
|
||||||
export const stateSanitizer = (state: State) => {
|
export const stateSanitizer = (state: State) => {
|
||||||
if (state.connections && state.connections.devices) {
|
if (state.connections && state.connections.devices) {
|
||||||
Reference in New Issue
Block a user