mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
7 lines
211 B
Plaintext
7 lines
211 B
Plaintext
//// [tests/cases/compiler/conditionalExpression1.ts] ////
|
|
|
|
=== conditionalExpression1.ts ===
|
|
var x: boolean = (true ? 1 : ""); // should be an error
|
|
>x : Symbol(x, Decl(conditionalExpression1.ts, 0, 3))
|
|
|