Fix non-existing babel types

Reviewed By: jeanlauliac

Differential Revision: D7534831

fbshipit-source-id: ff5d068596a42c560ee926155889bdd8710b0208
This commit is contained in:
Peter van der Zee 2018-04-09 17:19:47 -07:00 committed by Facebook Github Bot
parent 9045aad7e4
commit b05f9692e7
1 changed files with 2 additions and 2 deletions

View File

@ -136,8 +136,8 @@ declare module 'babel-core' {
parentPath?: ?Object,
): void;
declare var types: BabelTypes;
declare var transformFile: TransformFile;
declare var transformFromAst: TransformFromAst /*(
declare var transformFile: TransformFileSync;
declare var transformFromAst: TransformFromAstSync /*(
ast: BabelNode,
code?: ?string,
babelOptions?: _TransformOptions,