Summary:
This converts the index file to TypeScript which is used as an export for all plugins. Alongside, I had to fix a couple of errors in various files to make sure everything works correctly.

For plugins using flow, we define an interface which uses the type definition for FlipperPlugin and types all UI components as `any`.

Reviewed By: passy

Differential Revision: D16936890

fbshipit-source-id: dacd9a63a82b9f0bbb530b06072186874cba7b6f
This commit is contained in:
Daniel Büchele
2019-08-22 10:00:00 -07:00
committed by Facebook Github Bot
parent d962bbbfb9
commit 0ec48d4fc9
31 changed files with 581 additions and 495 deletions

View File

@@ -20,10 +20,7 @@ module.use_strict=true
emoji=true
all=true
include_warnings=true
module.name_mapper='^.*plugin\.flow\.js$' -> 'plugin'
module.name_mapper='^.*plugin\.tsx$' -> 'plugin'
module.name_mapper='^\(.*\)\.tsx$' -> 'TsStub'
module.name_mapper='flipper' -> '<PROJECT_ROOT>/src/index.js'
suppress_type=$FlowFixMe
module.system=haste