Upgrade fb-utils test stuff to babel 7

Reviewed By: davidaurelio

Differential Revision: D7728255

fbshipit-source-id: acb882fa4d4cc6fe648628eaee7b80e180662a5c
This commit is contained in:
Peter van der Zee 2018-04-24 04:41:15 -07:00 committed by Facebook Github Bot
parent c26e7b7ce2
commit 76be88b515
1 changed files with 3 additions and 3 deletions

View File

@ -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