2015-02-03 00:15:54 +01:00
|
|
|
//// [parserMemberAccessorDeclaration12.ts]
|
|
|
|
class C {
|
|
|
|
get Foo(a: number) { }
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [parserMemberAccessorDeclaration12.js]
|
|
|
|
var C = (function () {
|
|
|
|
function C() {
|
|
|
|
}
|
|
|
|
Object.defineProperty(C.prototype, "Foo", {
|
2015-03-26 21:46:35 +01:00
|
|
|
get: function (a) { },
|
2015-02-03 00:15:54 +01:00
|
|
|
enumerable: true,
|
|
|
|
configurable: true
|
|
|
|
});
|
|
|
|
return C;
|
|
|
|
})();
|