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