mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
a13a78e3fe
**BREAKING CHANGE:** Breaking changes for `@swc/helpers`. A new major version `0.5.0` is required. **Related issue:** - Closes https://github.com/swc-project/swc/issues/7157
9 lines
239 B
JavaScript
9 lines
239 B
JavaScript
import { _async_generator } from "./_async_generator.js";
|
|
|
|
export function _wrap_async_generator(fn) {
|
|
return function() {
|
|
return new _async_generator(fn.apply(this, arguments));
|
|
};
|
|
}
|
|
export { _wrap_async_generator as _ };
|