mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
458 B
TypeScript
16 lines
458 B
TypeScript
//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression13.ts] ////
|
|
|
|
//// [fileJs.js]
|
|
a ? () => a() : (): any => null; // Not legal JS; "Unexpected token ')'" at last paren
|
|
|
|
//// [fileTs.ts]
|
|
a ? () => a() : (): any => null;
|
|
|
|
|
|
//// [fileJs.js]
|
|
"use strict";
|
|
a ? () => a() : () => null; // Not legal JS; "Unexpected token ')'" at last paren
|
|
//// [fileTs.js]
|
|
"use strict";
|
|
a ? () => a() : () => null;
|