TypeScript/tests/baselines/reference/parserGetAccessorWithTypeParameters1.js

17 lines
356 B
JavaScript

//// [parserGetAccessorWithTypeParameters1.ts]
class C {
get foo<T>() { }
}
//// [parserGetAccessorWithTypeParameters1.js]
var C = (function () {
function C() {
}
Object.defineProperty(C.prototype, "foo", {
get: function () {
},
enumerable: true,
configurable: true
});
return C;
})();