We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0694a38 commit abb229eCopy full SHA for abb229e
tests/cases/fourslash/unusedImports14FS.ts
@@ -2,11 +2,14 @@
2
3
// @noUnusedLocals: true
4
// @Filename: file2.ts
5
-//// [| import /* 1 */ A /* 2 */, /* 3 */ { x } from './a'; |]
+//// [| import /* 1 */ A /* 2 */, /* 3 */ { /* 4 */ x /* 5 */ } /* 6 */ from './a'; |]
6
//// console.log(A);
7
8
// @Filename: file1.ts
9
//// export default 10;
10
//// export var x = 10;
11
12
-verify.rangeAfterCodeFix("import /* 1 */ A /* 2 */ from './a';");
+
13
+// It's ambiguous which token comment /* 6 */ applies to or whether it should be removed.
14
+// In the current implementation the comment is left behind, but this behavior isn't a requirement.
15
+verify.rangeAfterCodeFix("import /* 1 */ A /* 2 */ /* 6 */ from './a';");
0 commit comments