TypeScript/tests/baselines/reference/parserGetAccessorWithTypeParameters1.js

17 lines
347 B
TypeScript

//// [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;
})();