diff --git a/flow-typed/babel.js.flow b/flow-typed/babel.js.flow index 9b1d4eaf..c3f0ef18 100644 --- a/flow-typed/babel.js.flow +++ b/flow-typed/babel.js.flow @@ -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 | RegExp | Array), parserOpts?: ?Babylon7Options, - plugins?: _Plugins, + plugins?: ?_Plugins, presets?: Array, 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