mirror of https://github.com/status-im/metro.git
Upgrade fb-utils test stuff to babel 7
Reviewed By: davidaurelio Differential Revision: D7728255 fbshipit-source-id: acb882fa4d4cc6fe648628eaee7b80e180662a5c
This commit is contained in:
parent
c26e7b7ce2
commit
76be88b515
|
@ -158,7 +158,7 @@ declare module 'babel-generator' {
|
|||
ast: BabelNode,
|
||||
options?: GeneratorOptions,
|
||||
code?: string | {[string]: string},
|
||||
) => GeneratorResult
|
||||
) => GeneratorResult;
|
||||
}
|
||||
|
||||
// #############################################
|
||||
|
@ -205,7 +205,7 @@ type BabelCoreOptions = {|
|
|||
moduleRoot?: string,
|
||||
only?: ?(string | Array<string> | RegExp | Array<string | RegExp>),
|
||||
parserOpts?: ?Babylon7Options,
|
||||
plugins?: _Plugins,
|
||||
plugins?: ?_Plugins,
|
||||
presets?: Array<string>,
|
||||
retainLines?: boolean,
|
||||
shouldPrintComment?: ?(string) => boolean,
|
||||
|
@ -329,7 +329,7 @@ declare module '@babel/generator' {
|
|||
ast: BabelNode,
|
||||
options?: GeneratorOptions,
|
||||
code?: string | {|[filename: string]: string|},
|
||||
) => GeneratorResult
|
||||
) => GeneratorResult;
|
||||
}
|
||||
|
||||
// https://github.com/babel/babel/tree/master/packages/babel-template
|
||||
|
|
Loading…
Reference in New Issue