TypeScript/tests/cases/conformance/parser/ecmascript5/parserParenthesizedVariableAndFunctionInTernary.ts

2 lines
52 B
TypeScript

let a: any;
const c = true ? (a) : function() {};