TypeScript/tests/baselines/reference/missingReturnStatement1.js

18 lines
281 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [missingReturnStatement1.ts]
class Foo {
foo(): number {
//return 4;
}
}
//// [missingReturnStatement1.js]
var Foo = (function () {
function Foo() {
}
Foo.prototype.foo = function () {
//return 4;
2014-07-13 01:04:16 +02:00
};
return Foo;
})();