18 lines
187 B
TypeScript
18 lines
187 B
TypeScript
//// [emptyThenWarning.ts]
|
|
if(1);
|
|
|
|
let x = 0;
|
|
if (true === true); {
|
|
x = 1;
|
|
}
|
|
|
|
//// [emptyThenWarning.js]
|
|
if (1)
|
|
;
|
|
var x = 0;
|
|
if (true === true)
|
|
;
|
|
{
|
|
x = 1;
|
|
}
|