packages/babel-plugin-transform-async-to-generator/test/fixtures/export-async/default-export/output.js
raw| 1 | "use strict"; |
| 2 | |
| 3 | Object.defineProperty(exports, "__esModule", { |
| 4 | value: true |
| 5 | }); |
| 6 | exports.default = myFunc; |
| 7 | function myFunc() { |
| 8 | return _myFunc.apply(this, arguments); |
| 9 | } |
| 10 | function _myFunc() { |
| 11 | _myFunc = babelHelpers.asyncToGenerator(function* () {}); |
| 12 | return _myFunc.apply(this, arguments); |
| 13 | } |