babel-plugin-transform-reblend-function-to-class
Version:
8 lines (7 loc) • 337 B
TypeScript
import * as t from '@babel/types';
import { NodePath } from '@babel/traverse';
declare function spreadBodyStatements(path: NodePath<t.Function>, bodyStatements: t.Statement[] | null, propsStatements: t.Statement[] | null): {
props: t.ExpressionStatement[];
state: t.ExpressionStatement[];
};
export default spreadBodyStatements;