24842b4002
* When --noUnusedLocals/--noUnusedParameters is disabled, add suggestions instead of errors * Improve performance: do not add unused suggestion diagnostics unless asking for a suggestion * Add "unused" flag to diagnostics * Code review * reportsUnused -> reportsUnnecessary * Fix test
11 lines
No EOL
227 B
TypeScript
11 lines
No EOL
227 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @noImplicitAny: true
|
|
////class C {
|
|
//// set [|x(v)|] {
|
|
//// v;
|
|
//// }
|
|
////}
|
|
////(new C).x = 1;
|
|
|
|
verify.rangeAfterCodeFix("x(v: number)", undefined, undefined, 0); |