Typescriptify the main process code (11/N)
Summary: Converted static/compilePlugins.js to typescript Reviewed By: passy Differential Revision: D20070227 fbshipit-source-id: ba360b944440babedef94af0d0bc577711165ff6
This commit is contained in:
committed by
Facebook Github Bot
parent
2d551f6b4a
commit
aff433c8ad
@@ -16,7 +16,7 @@ import url from 'url';
|
||||
import fs from 'fs';
|
||||
import fixPath from 'fix-path';
|
||||
import {exec} from 'child_process';
|
||||
const compilePlugins = require('./compilePlugins');
|
||||
import compilePlugins from './compilePlugins';
|
||||
import setup from './setup';
|
||||
import delegateToLauncher from './launcher';
|
||||
import expandTilde from 'expand-tilde';
|
||||
@@ -120,7 +120,7 @@ compilePlugins(
|
||||
},
|
||||
pluginPaths,
|
||||
path.join(flipperDir, 'plugins'),
|
||||
).then((dynamicPlugins: string[]) => {
|
||||
).then(dynamicPlugins => {
|
||||
ipcMain.on('get-dynamic-plugins', event => {
|
||||
event.returnValue = dynamicPlugins;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user