TypeScript/tests/baselines/reference/getEmitOutputExternalModule2.baseline

18 lines
554 B
Text

EmitOutputStatus : DiagnosticsPresent_JavaScriptGenerated
Diagnostics:
Subsequent variable declarations must have the same type. Variable 'x' must be of type 'number', but here has type 'string'.
Subsequent variable declarations must have the same type. Variable 'x' must be of type 'number', but here has type 'string'.
FileName : declSingleFile.js
var x = 5;
var Bar = (function () {
function Bar() {
}
return Bar;
})();
var x = "world";
var Bar2 = (function () {
function Bar2() {
}
return Bar2;
})();