TypeScript/tests/baselines/reference/staticMethodsReferencingClassTypeParameters.js

15 lines
287 B
JavaScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [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;
})();