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

15 lines
269 B
JavaScript

//// [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;
})();