mirror of https://github.com/status-im/metro.git
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:
parent
0f1b5c0e10
commit
b58e5dc930
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue