> more file.ts > > ``` javascript > // test > var f = '' > // test #2 > module foo { > function bar() { } > } > // test #3 > module empty { > } > // test #4 > ``` > > more file.js > > ``` javascript > // 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) ?