mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
20 lines
329 B
TypeScript
20 lines
329 B
TypeScript
//// [tests/cases/compiler/emptyThenWithoutWarning.ts] ////
|
|
|
|
//// [emptyThenWithoutWarning.ts]
|
|
let a = 4;
|
|
|
|
if(a === 1 || a === 2 || a === 3) {
|
|
}
|
|
else {
|
|
let message = "Ooops";
|
|
}
|
|
|
|
//// [emptyThenWithoutWarning.js]
|
|
"use strict";
|
|
let a = 4;
|
|
if (a === 1 || a === 2 || a === 3) {
|
|
}
|
|
else {
|
|
let message = "Ooops";
|
|
}
|