Convert utils/pluginUtils to TS
Reviewed By: danielbuechele Differential Revision: D16710689 fbshipit-source-id: 8da309810f633af27759286521c784ac665531b9
This commit is contained in:
committed by
Facebook Github Bot
parent
882d7e1a39
commit
ce34c20506
@@ -21,7 +21,7 @@ import {listDevices} from '../src/utils/listDevices';
|
||||
// $FlowFixMe this file exist, trust me, flow!
|
||||
import setup from '../static/setup.js';
|
||||
import type {Store} from '../src/reducers/index.tsx';
|
||||
import {getPersistentPlugins} from '../src/utils/pluginUtils.js';
|
||||
import {getPersistentPlugins} from '../src/utils/pluginUtils.tsx';
|
||||
import {serialize} from '../src/utils/serialization';
|
||||
import type BaseDevice from '../src/devices/BaseDevice.tsx';
|
||||
|
||||
@@ -312,7 +312,6 @@ async function startFlipper(userArguments: UserArguments) {
|
||||
if (matchedDevice) {
|
||||
if (matchedDevice.constructor.name === 'AndroidDevice') {
|
||||
const ports = store.getState().application.serverPorts;
|
||||
//$FlowFixMe: Checked the class name before calling reverse.
|
||||
matchedDevice.reverse([ports.secure, ports.insecure]);
|
||||
}
|
||||
store.dispatch({
|
||||
|
||||
Reference in New Issue
Block a user