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
10 lines
297 B
TypeScript
10 lines
297 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @noUnusedParameters: true
|
|
|
|
////declare function f(cb: (x: number, y: string) => void): void;
|
|
////f((x, y) => { y; });
|
|
|
|
// No codefix to remove a non-last parameter in a callback
|
|
verify.codeFixAvailable([{ description: "Prefix 'x' with an underscore" }]);
|