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

18 lines
266 B
TypeScript

//// [noTypeArgumentOnReturnType1.ts]
class A<T>{
foo(): A{
return null;
}
}
//// [noTypeArgumentOnReturnType1.js]
var A = (function () {
function A() {
}
A.prototype.foo = function () {
return null;
};
return A;
})();