16 lines
352 B
TypeScript
16 lines
352 B
TypeScript
//// [parserMemberAccessorDeclaration7.ts]
|
|
class C {
|
|
public public get Foo() { }
|
|
}
|
|
|
|
//// [parserMemberAccessorDeclaration7.js]
|
|
var C = (function () {
|
|
function C() {
|
|
}
|
|
Object.defineProperty(C.prototype, "Foo", {
|
|
get: function () { },
|
|
enumerable: true,
|
|
configurable: true
|
|
});
|
|
return C;
|
|
})();
|