* Support deleting all unused type parameters in a list, and deleting @template tag * Support type parameter in 'infer'
12 lines
289 B
TypeScript
12 lines
289 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @noUnusedParameters: true
|
|
//// class A {
|
|
//// [|public f1<X, Y, Z>(a: X)|] { a; var b: Z; b }
|
|
//// }
|
|
|
|
verify.codeFix({
|
|
index: 0,
|
|
description: "Remove declaration for: 'Y'",
|
|
newRangeContent: "public f1<X, Z>(a: X)",
|
|
});
|