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

@@ -16,8 +16,8 @@ export {
FlipperPlugin,
FlipperDevicePlugin,
callClient,
} from './plugin.js';
export type {PluginClient, Props} from './plugin.js';
} from './plugin.tsx';
export type {PluginClient, Props} from './plugin.tsx';
export type {MetricType} from './utils/exportMetrics.js';
export {default as Client} from './Client.tsx';
export {clipboard} from 'electron';