TypeScript/tests/baselines/reference/arrowFunctionMissingCurlyWithSemicolon.errors.txt

7 lines
254 B
Plaintext
Raw Normal View History

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