d957b1c8c2
* fixUnusedIdentifier: Remove arguments corresponding to unused parameters * Update API (#24966) * Fix handling of deletions: Make a list of things to delete and don't delete until the end * Remove dummy test * Bug fixes * Update API (#24966) * Move code to textChanges
11 lines
269 B
TypeScript
11 lines
269 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @noUnusedLocals: true
|
|
////for (const elem in ["a", "b", "c"]) {}
|
|
|
|
verify.codeFix({
|
|
index: 1,
|
|
description: "Prefix 'elem' with an underscore",
|
|
newFileContent: 'for (const _elem in ["a", "b", "c"]) {}',
|
|
});
|