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