17 lines
347 B
TypeScript
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;
|
|
})();
|