10 lines
No EOL
378 B
Text
10 lines
No EOL
378 B
Text
tests/cases/compiler/arrowFunctionMissingCurlyWithSemicolon.ts(2,15): error TS1109: Expression expected.
|
|
|
|
|
|
==== 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; |