TypeScript/tests/baselines/reference/asyncSetter_es5.js
Pathurs 5c85febb0c
Fix Get/Set being enumerable (#32264)
* Fix Get/Set being enumerable

fixes #3610

* fix tests

Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2020-02-27 14:08:20 -08:00

19 lines
344 B
TypeScript

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