diff --git a/flow-typed/npm/babel_v7.x.x.js b/flow-typed/npm/babel_v7.x.x.js index c0d9d133dd81c3..53953323b24040 100644 --- a/flow-typed/npm/babel_v7.x.x.js +++ b/flow-typed/npm/babel_v7.x.x.js @@ -734,6 +734,8 @@ declare module '@babel/core' { */ only?: MatchPattern | Array, + extensions?: Array, + // Source Map options /** @@ -1223,6 +1225,12 @@ declare module '@babel/generator' { ) => GeneratorResult; } +declare module '@babel/register' { + import type {BabelCoreOptions} from '@babel/core'; + + declare module.exports: (options?: BabelCoreOptions) => void; +} + declare module '@babel/template' { import type {Node, Statement, Expression, Program} from '@babel/types';