flipper-babel-transformer
Version:
Babel transformer for Flipper plugins
13 lines • 542 B
TypeScript
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
import { CallExpression, Identifier } from '@babel/types';
import { NodePath } from '@babel/traverse';
export declare function tryReplaceFlipperRequire(path: NodePath<CallExpression>): boolean;
export declare function tryReplaceGlobalReactUsage(path: NodePath<Identifier>): boolean;
//# sourceMappingURL=replace-flipper-requires.d.ts.map