* fix bodyless async functions (#4599) * Do the same in the async-generator-functions transform
8 lines
140 B
JavaScript
8 lines
140 B
JavaScript
babelHelpers.asyncToGenerator(function* () {
|
|
return yield promise;
|
|
});
|
|
|
|
babelHelpers.asyncToGenerator(function* () {
|
|
yield promise;
|
|
});
|