mirror of
https://github.com/status-im/metro.git
synced 2025-01-11 19:44:17 +00:00
Add automated script to update the babelHelpers file
Reviewed By: cpojer Differential Revision: D8025371 fbshipit-source-id: 4811f16d882196bc32be7471b6a3ab4d834651c2
This commit is contained in:
parent
88ffb77729
commit
54828cce35
@ -288,6 +288,8 @@ declare module '@babel/core' {
|
||||
// use @babel/traverse instead!
|
||||
declare var traverse: TraverseFunc;
|
||||
|
||||
declare var version: string;
|
||||
|
||||
// Note: DO NOT USE WITHOUT CALLBACK. Use transformSync instead.
|
||||
declare function transform(
|
||||
code: string,
|
||||
@ -310,6 +312,8 @@ declare module '@babel/core' {
|
||||
callback: TransformCallback,
|
||||
): void_DO_NOT_USE_SYNC;
|
||||
declare var transformFromAstSync: TransformFromAstSync;
|
||||
|
||||
declare function buildExternalHelpers(Array<string>): string;
|
||||
}
|
||||
|
||||
// https://github.com/babel/babel/tree/master/packages/babylon
|
||||
|
Loading…
x
Reference in New Issue
Block a user