TypeScript/tests/cases/compiler/arrowFunctionMissingCurlyWithSemicolon.ts

4 lines
106 B
TypeScript
Raw Normal View History

// Should error at semicolon.
var f = () => ;
var b = 1 * 2 * 3 * 4;
var square = (x: number) => x * x;