7 lines
No EOL
254 B
Text
7 lines
No EOL
254 B
Text
==== 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; |