Convert plugin.js to plugin.tsx

Summary:
* Deletes plugin.js
* Adds plugin.tsx
* Adds plugin flow-typed module that has the old flow types

Reviewed By: passy

Differential Revision: D16668067

fbshipit-source-id: b2f0ce47c4cf7125b4e352821e921b97675d12a9
This commit is contained in:
John Knox
2019-08-08 11:50:09 -07:00
committed by Facebook Github Bot
parent 5f53087c7e
commit 3bfb7faf0a
33 changed files with 324 additions and 173 deletions

View File

@@ -17,7 +17,7 @@ import {
} from '../index';
import styled from '../styled/index';
import type {TableBodyRow, TableRows} from 'flipper';
import type {PluginClient} from '../../plugin';
import type {PluginClient} from '../../plugin.tsx';
type ValueWithType = {|
type: string,

View File

@@ -6,7 +6,7 @@
*/
import type {Element} from './ElementsInspector.js';
import type {PluginClient} from '../../../plugin';
import type {PluginClient} from '../../../plugin.tsx';
import type Client from '../../../Client.tsx';
import type {Logger} from '../../../fb-interfaces/Logger.js';
import Panel from '../Panel.js';