2015-02-03 00:15:54 +01:00
|
|
|
//// [parserGetAccessorWithTypeParameters1.ts]
|
|
|
|
class C {
|
|
|
|
get foo<T>() { }
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [parserGetAccessorWithTypeParameters1.js]
|
|
|
|
var C = (function () {
|
|
|
|
function C() {
|
|
|
|
}
|
|
|
|
Object.defineProperty(C.prototype, "foo", {
|
2015-02-07 03:45:09 +01:00
|
|
|
get: function () { },
|
2015-02-03 00:15:54 +01:00
|
|
|
enumerable: true,
|
|
|
|
configurable: true
|
|
|
|
});
|
|
|
|
return C;
|
|
|
|
})();
|