Permalink
Browse files

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
  • Loading branch information...
davidaurelio authored and facebook-github-bot committed Apr 25, 2017
1 parent 86dd77f commit 3afbcfcd6bf79b9eb95b09d0323b7e58bf78228b
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 = {

0 comments on commit 3afbcfc

Please sign in to comment.