more file.ts
// test
var f = ''
// test #2
module foo {
function bar() { }
}
// test #3
module empty {
}
// test #4
more file.js
// test
var f = '';
// test #2
var foo;
(function (foo) {
function bar() {
}
})(foo || (foo = {}));
Looks like comments after a 'block' aren't emitted. Could it be a missing emitTrailingComments(node) ?