UNPKG

@babel/helper-remap-async-to-generator

Version:

Helper function to remap async functions to generators

9 lines (6 loc) 294 B
import { NodePath, types } from '@babel/core'; declare function export_default(path: NodePath<types.Function>, helpers: { wrapAsync: types.Expression; wrapAwait?: types.Expression; }, noNewArrows?: boolean, ignoreFunctionLength?: boolean): void; export { export_default as default };