Open
Description
TypeScript Version: 1.8.x / Playground
Code
// the export annotations
export function bug() {
// hello
// another?
// return annotation
return {
// return object annotation
outer: {
// more!
inner1: { // here too
// and more
p1: 'v1', // comment1
p2: 'v2', // comment2
p3: 'v3' // last comment
} // here?
} // and here?
}; // here too?
// and finally here
}
Expected behavior:
All comments preserved
Actual behavior:
comment1
and comment2
are removed