//// [commentsTypeParameters.ts] class C { method(a: U) { } static staticmethod(a: U) { } private privatemethod(a: U) { } private static privatestaticmethod(a: U) { } } function compare(a: T, b: T) { return a === b; } //// [commentsTypeParameters.js] var C = (function () { function C() { } C.prototype.method = function (a) { }; C.staticmethod = function (a) { }; C.prototype.privatemethod = function (a) { }; C.privatestaticmethod = function (a) { }; return C; })(); function compare(a, b) { return a === b; } //// [commentsTypeParameters.d.ts] declare class C { method(a: U): void; static staticmethod(a: U): void; private privatemethod(a); private static privatestaticmethod(a); } declare function compare(a: T, b: T): boolean;