function main(a: bool, b: bool) { let c = if a ? true : false; const a = c == b; }