From 3afbcfcd6bf79b9eb95b09d0323b7e58bf78228b Mon Sep 17 00:00:00 2001 From: David Aurelio Date: Tue, 25 Apr 2017 11:38:36 -0700 Subject: [PATCH] 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 --- packager/src/JSTransformer/worker/inline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packager/src/JSTransformer/worker/inline.js b/packager/src/JSTransformer/worker/inline.js index 91811a1f8..9952f2290 100644 --- a/packager/src/JSTransformer/worker/inline.js +++ b/packager/src/JSTransformer/worker/inline.js @@ -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 = {