* Support a "getCombinedCodeFix" service * Rename things * Code review * Rename things * Update API baselines * CodeActionAll -> CombinedCodeActions * Take a `scope` parameter instead of `fileName` for flexibility * Renames and bugfixes * Make API changes internal * Code review * Update comment
11 lines
273 B
TypeScript
11 lines
273 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @noUnusedLocals: true
|
|
////for ([|const elem of |]["a", "b", "c"]) {}
|
|
|
|
verify.codeFix({
|
|
description: "Prefix 'elem' with an underscore",
|
|
index: 1,
|
|
newFileContent: 'for (const _elem of ["a", "b", "c"]) {}',
|
|
});
|