2018-06-27 18:26:47 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @noUnusedParameters: true
|
|
|
|
|
2020-09-09 17:23:53 +02:00
|
|
|
////declare function foo(cb: (x: number, y: string) => void): void;
|
|
|
|
////function fn(x: number, y: number): any {
|
|
|
|
//// return y;
|
|
|
|
////}
|
|
|
|
////foo(fn);
|
2018-06-27 18:26:47 +02:00
|
|
|
|
|
|
|
// No codefix to remove a non-last parameter in a callback
|
|
|
|
verify.codeFixAvailable([{ description: "Prefix 'x' with an underscore" }]);
|