-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScript
Milestone
Description
This repeated code is added in a few weeks.
TypeScript Version: master
Code
export class C {}
export namespace C {
var c;
}Expected behavior:
"use strict";
var C = (function () {
function C() {
}
return C;
}());
exports.C = C;
(function (C) {
var c;
})(C = exports.C || (exports.C = {}));Actual behavior:
"use strict";
var C = (function () {
function C() {
}
return C;
}());
exports.C = C;
(function (C) {
var c;
})(C = exports.C || (exports.C = {}));
exports.C = C; // <- herecf:
export namespace C {
var c;
}"use strict";
var C;
(function (C) {
var c;
})(C = exports.C || (exports.C = {}));Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScript