mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 05:34:15 +00:00
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
86dd77f924
commit
3afbcfcd6b
@ -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…
x
Reference in New Issue
Block a user