Open eco747 opened 4 years ago
new: with typescript 4.3.5 now generated: // my comment 4 still missing: // my comment 2
I think that declare keyword do not generate anything in JS, so the comment is skipped
actual behaviour
// my comment 1 import { something }from '/lib/backend/./somefile.js'; let test = new something({});
// also let item = [ // my comment 3 { a: 0 }, { a: 0 }, { a: 0 }, // my comment 4 ];
some comments are removed (even even removeComments to false)
TypeScript Version: Version 3.9.1-rc
Search Terms: Much better comment preservation
Code
Actual behavior:
Related Issues: sound like previous bugs report but not.
1665
16727