swc/tests/tsc-references/es6/yieldExpressions/generatorOverloads4/input.ts/es5.2.minified/output.js

31 lines
1.2 KiB
JavaScript

import regeneratorRuntime from "regenerator-runtime";
function _defineProperties(target, props) {
for(var i = 0; i < props.length; i++){
var descriptor = props[i];
descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor);
}
}
var C = function() {
"use strict";
var Constructor, protoProps, staticProps;
function C() {
!function(instance, Constructor) {
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
}(this, C);
}
return Constructor = C, protoProps = [
{
key: "f",
value: regeneratorRuntime.mark(function f(s) {
return regeneratorRuntime.wrap(function(_ctx) {
for(;;)switch(_ctx.prev = _ctx.next){
case 0:
case "end":
return _ctx.stop();
}
}, f);
})
}
], _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), C;
}();