Files
tsgo/testdata/baselines/reference/submodule/compiler/emptyThenWarning.js

21 lines
258 B
TypeScript

//// [tests/cases/compiler/emptyThenWarning.ts] ////
//// [emptyThenWarning.ts]
if(1);
let x = 0;
if (true === true); {
x = 1;
}
//// [emptyThenWarning.js]
"use strict";
if (1)
;
let x = 0;
if (true === true)
;
{
x = 1;
}