diff --git a/src/chrome/PluginDebugger.tsx b/src/chrome/PluginDebugger.tsx
index 07690342d..014c6c179 100644
--- a/src/chrome/PluginDebugger.tsx
+++ b/src/chrome/PluginDebugger.tsx
@@ -18,6 +18,8 @@ import {
styled,
colors,
Link,
+ FlipperPlugin,
+ FlipperDevicePlugin,
} from 'flipper';
import StatusIndicator from '../ui/components/StatusIndicator';
import {State as Store} from '../reducers';
@@ -59,7 +61,7 @@ const TableContainer = styled('div')({
display: 'flex',
});
-const Lamp = props => (
+const Lamp = (props: {on: boolean}) => (
);
@@ -69,8 +71,8 @@ type StateFromProps = {
failedPlugins: Array<[PluginDefinition, string]>;
clients: Array;
selectedDevice: string | null | undefined;
- devicePlugins: Array;
- clientPlugins: Array;
+ devicePlugins: Array;
+ clientPlugins: Array;
};
type DispatchFromProps = {};
@@ -165,7 +167,7 @@ class PluginDebugger extends Component {
// bundled plugins are loaded from the defaultPlugins directory within
// Flipper's package.
- const externalPluginPath = (p: PluginDefinition) =>
+ const externalPluginPath = (p: any) =>
p.out
? p.out.startsWith('./defaultPlugins/')
? null
@@ -327,8 +329,10 @@ export default connect(
},
connections: {clients, selectedDevice},
}) => ({
- devicePlugins: Array.from(devicePlugins.values()),
- clientPlugins: Array.from(clientPlugins.values()),
+ devicePlugins: Array.from(
+ devicePlugins.values(),
+ ),
+ clientPlugins: Array.from(clientPlugins.values()),
gatekeepedPlugins,
clients,
disabledPlugins,