/
importCallExpressionAsyncES6System.1.normal.js
64 lines (64 loc) · 1.95 KB
/
importCallExpressionAsyncES6System.1.normal.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
//// [test.ts]
System.register([
"@swc/helpers/src/_async_to_generator.mjs"
], function(_export, _context) {
"use strict";
var _async_to_generator, cl1, cl2, obj, l;
function fn() {
return _fn.apply(this, arguments);
}
function _fn() {
_fn = _async_to_generator(function*() {
const req = yield _context.import('./test') // ONE
;
});
return _fn.apply(this, arguments);
}
_export({
fn: fn,
cl1: void 0,
cl2: void 0
});
return {
setters: [
function(_asyncToGenerator) {
_async_to_generator = _asyncToGenerator.default;
}
],
execute: function() {
_export("cl1", cl1 = class cl1 {
m() {
return _async_to_generator(function*() {
const req = yield _context.import('./test') // TWO
;
})();
}
});
_export("obj", obj = {
m: /*#__PURE__*/ _async_to_generator(function*() {
const req = yield _context.import('./test') // THREE
;
})
});
_export("cl2", cl2 = class cl2 {
constructor(){
this.p = {
m: /*#__PURE__*/ _async_to_generator(function*() {
const req = yield _context.import('./test') // FOUR
;
})
};
}
});
_export("l", l = function() {
var _ref = _async_to_generator(function*() {
const req = yield _context.import('./test') // FIVE
;
});
return function l() {
return _ref.apply(this, arguments);
};
}());
}
};
});