TypeScript/tests/baselines/reference/typeParametersInStaticMethods.js
2015-12-08 17:51:10 -08:00

14 lines
269 B
TypeScript

//// [typeParametersInStaticMethods.ts]
class foo<T> {
static M(x: (x: T) => { x: { y: T } }) {
}
}
//// [typeParametersInStaticMethods.js]
var foo = (function () {
function foo() {
}
foo.M = function (x) {
};
return foo;
}());