UNPKG

@babel/helper-wrap-function

Version:

Helper to wrap functions inside a function call.

7 lines (4 loc) 259 B
import { NodePath } from '@babel/traverse'; import * as t from '@babel/types'; declare function wrapFunction(path: NodePath<t.Function>, callId: t.Expression, noNewArrows?: boolean, ignoreFunctionLength?: boolean): void; export { wrapFunction as default };