inline plugin: type options

Summary: Adds a stronger type for the inline plugin to help with future refactors

Reviewed By: jeanlauliac

Differential Revision: D4945842

fbshipit-source-id: f9bde75bf47271d80d2420d985a6a5609cee8952
This commit is contained in:
David Aurelio 2017-04-25 11:38:36 -07:00 committed by Facebook Github Bot
parent 0f1b5c0e10
commit b58e5dc930
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ type AstResult = {
function inline(
filename: string,
transformResult: {ast?: ?Ast, code: string, map: ?SourceMap},
options: {},
options: {+dev: boolean, +platform: string},
): AstResult {
const code = transformResult.code;
const babelOptions = {