mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
381 B
TypeScript
16 lines
381 B
TypeScript
//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression8.ts] ////
|
|
|
|
//// [fileJs.js]
|
|
x ? y => ({ y }) : z => ({ z }) // Legal JS
|
|
|
|
//// [fileTs.ts]
|
|
x ? y => ({ y }) : z => ({ z })
|
|
|
|
|
|
//// [fileJs.js]
|
|
"use strict";
|
|
x ? y => ({ y }) : z => ({ z }); // Legal JS
|
|
//// [fileTs.js]
|
|
"use strict";
|
|
x ? y => ({ y }) : z => ({ z });
|