12 lines
273 B
TypeScript
12 lines
273 B
TypeScript
//// [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;
|
|
})();
|