TypeScript/tests/baselines/reference/arrowFunctionMissingCurlyWithSemicolon.errors.txt
2014-09-11 16:11:08 -07:00

7 lines
268 B
Plaintext

==== tests/cases/compiler/arrowFunctionMissingCurlyWithSemicolon.ts (1 errors) ====
// Should error at semicolon.
var f = () => ;
~
!!! error TS1109: Expression expected.
var b = 1 * 2 * 3 * 4;
var square = (x: number) => x * x;