TypeScript/tests/baselines/reference/staticMethodsReferencingClassTypeParameters.js
2014-07-12 17:30:19 -07:00

15 lines
287 B
JavaScript

//// [staticMethodsReferencingClassTypeParameters.ts]
class C<T> {
static s(p: T) { return p; }
}
//// [staticMethodsReferencingClassTypeParameters.js]
var C = (function () {
function C() {
}
C.s = function (p) {
return p;
};
return C;
})();