6 lines
150 B
TypeScript
6 lines
150 B
TypeScript
|
//// [typeCheckReturnExpression.ts]
|
||
|
var foo = () => undefined;
|
||
|
|
||
|
//// [typeCheckReturnExpression.js]
|
||
|
var foo = function () { return undefined; };
|