* don't delete comment on variable declaration * add more declaration kinds * don't copy comment in convertes6 class * don't copy comments in convertToES6Class * add tests * use isAnyImportSyntax * handle mixed comment types * update tests
13 lines
252 B
TypeScript
13 lines
252 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @noUnusedLocals: true
|
|
//// [| namespace greeter {
|
|
//// /* comment1 */
|
|
//// class /* comment2 */ class1 {
|
|
//// }
|
|
//// } |]
|
|
|
|
verify.rangeAfterCodeFix(`namespace greeter {
|
|
/* comment1 */
|
|
}`);
|