@babel/plugin-transform-react-constant-elements
Version:
Treat React JSX elements as value types and hoist them to the highest scope
9 lines (6 loc) • 310 B
TypeScript
import * as _babel_core from '@babel/core';
interface Options {
allowMutablePropsOnTags?: null | string[];
}
declare const _default: (api: _babel_core.PluginAPI, options: Options, dirname: string) => _babel_core.PluginObject<_babel_core.PluginPass<object>>;
export { type Options, _default as default };