mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* Add a test
* Revert "Improve output when wrapping functions (e.g. `async` functions) (#15922)"
This reverts commit f64c854415.
* Update snapshot
11 lines
245 B
JavaScript
11 lines
245 B
JavaScript
export function gen() {
|
|
return _gen.apply(this, arguments);
|
|
}
|
|
function _gen() {
|
|
_gen = babelHelpers.skipFirstGeneratorNext(function* () {
|
|
let _functionSent = yield;
|
|
return _functionSent;
|
|
});
|
|
return _gen.apply(this, arguments);
|
|
}
|