Leading comments have trailing separator while trailing comments have leading space This removes the extra trailing space in the trailing comments
32 lines
1.3 KiB
JavaScript
32 lines
1.3 KiB
JavaScript
//// [tests/cases/compiler/recursiveExportAssignmentAndFindAliasedType4.ts] ////
|
|
|
|
//// [recursiveExportAssignmentAndFindAliasedType4_moduleC.ts]
|
|
import self = require("recursiveExportAssignmentAndFindAliasedType4_moduleC");
|
|
export = self;
|
|
|
|
//// [recursiveExportAssignmentAndFindAliasedType4_moduleB.ts]
|
|
class ClassB { }
|
|
export = ClassB;
|
|
|
|
//// [recursiveExportAssignmentAndFindAliasedType4_moduleA.ts]
|
|
import moduleC = require("recursiveExportAssignmentAndFindAliasedType4_moduleC");
|
|
import ClassB = require("recursiveExportAssignmentAndFindAliasedType4_moduleB");
|
|
export var b: ClassB; // This should result in type ClassB
|
|
|
|
//// [recursiveExportAssignmentAndFindAliasedType4_moduleC.js]
|
|
define(["require", "exports", "recursiveExportAssignmentAndFindAliasedType4_moduleC"], function (require, exports, self) {
|
|
return self;
|
|
});
|
|
//// [recursiveExportAssignmentAndFindAliasedType4_moduleB.js]
|
|
define(["require", "exports"], function (require, exports) {
|
|
var ClassB = (function () {
|
|
function ClassB() {
|
|
}
|
|
return ClassB;
|
|
})();
|
|
return ClassB;
|
|
});
|
|
//// [recursiveExportAssignmentAndFindAliasedType4_moduleA.js]
|
|
define(["require", "exports"], function (require, exports) {
|
|
exports.b; // This should result in type ClassB
|
|
});
|