TypeScript/tests/baselines/reference/typeParametersInStaticMethods.js

15 lines
269 B
TypeScript
Raw Normal View History

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