TypeScript/tests/baselines/reference/asyncGetter_es5.js

19 lines
333 B
TypeScript

//// [asyncGetter_es5.ts]
class C {
async get foo() {
}
}
//// [asyncGetter_es5.js]
var C = /** @class */ (function () {
function C() {
}
Object.defineProperty(C.prototype, "foo", {
get: function () {
},
enumerable: true,
configurable: true
});
return C;
}());