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 authored and Facebook Github Bot committed 2017-04-25 11:45:45 -07:00
1 parent 86dd77f924
commit 3afbcfcd6b
1 file changed
+1 -1
+1 -1
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 = {