Kill Flow support

Summary:
* Removed Flow compilation step
* Removed all `flow` annotations
* Removed all FlowFixMe's
* Removed flow typings for Flipper
* Left flow transpilation (stripping) in babel, in case there is any external user using Flow in his plugin
* Left `eslint-plugin-flowtype` dependencies, as `eslint-config-fbjs` requires it

Reviewed By: passy

Differential Revision: D24755545

fbshipit-source-id: 9c0a7910657fd1cba88294e041bf2bfdf7b565bf
This commit is contained in:
Michel Weststrate
2020-11-09 07:59:07 -08:00
committed by Facebook GitHub Bot
parent 543a0e53ac
commit 670be012b2
44 changed files with 15 additions and 16621 deletions

View File

@@ -397,10 +397,7 @@ export default class DatabasesPlugin extends FlipperPlugin<
const databases = updates.sort((db1, db2) => db1.id - db2.id);
const selectedDatabase =
state.selectedDatabase ||
(Object.values(databases)[0]
? // $FlowFixMe
Object.values(databases)[0].id
: 0);
(Object.values(databases)[0] ? Object.values(databases)[0].id : 0);
const selectedTable =
state.selectedDatabaseTable &&
databases[selectedDatabase - 1].tables.includes(