Remove FlowFixMe's from TypeScript

Summary: This diff was a joy to draft.

Reviewed By: jknoxville

Differential Revision: D17344676

fbshipit-source-id: 0694d0393fa243edef61408ecfee92912fbbfa32
This commit is contained in:
Pascal Hartig
2019-09-12 10:18:25 -07:00
committed by Facebook Github Bot
parent f41cbcd429
commit cbbe32b9b9
11 changed files with 8 additions and 19 deletions

View File

@@ -107,7 +107,6 @@ export function getDynamicPlugins() {
let dynamicPlugins: Array<PluginDefinition> = [];
try {
dynamicPlugins = JSON.parse(
// $FlowFixMe process.env not defined in electron API spec
(remote && remote.process.env.PLUGINS) || process.env.PLUGINS || '[]',
);
} catch (e) {