mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
484 B
Plaintext
16 lines
484 B
Plaintext
//// [tests/cases/compiler/emptyThenWithoutWarning.ts] ////
|
|
|
|
=== emptyThenWithoutWarning.ts ===
|
|
let a = 4;
|
|
>a : Symbol(a, Decl(emptyThenWithoutWarning.ts, 0, 3))
|
|
|
|
if(a === 1 || a === 2 || a === 3) {
|
|
>a : Symbol(a, Decl(emptyThenWithoutWarning.ts, 0, 3))
|
|
>a : Symbol(a, Decl(emptyThenWithoutWarning.ts, 0, 3))
|
|
>a : Symbol(a, Decl(emptyThenWithoutWarning.ts, 0, 3))
|
|
}
|
|
else {
|
|
let message = "Ooops";
|
|
>message : Symbol(message, Decl(emptyThenWithoutWarning.ts, 5, 7))
|
|
}
|