* 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
16 lines
306 B
TypeScript
16 lines
306 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @noUnusedLocals: true
|
|
//// [| namespace greeter {
|
|
//// // Do not remove
|
|
//// /**
|
|
//// * JSDoc Comment
|
|
//// */
|
|
//// function function1() {
|
|
//// }/*1*/
|
|
//// } |]
|
|
|
|
verify.rangeAfterCodeFix(`namespace greeter {
|
|
// Do not remove
|
|
}`);
|
|
|