11 lines
274 B
TypeScript
11 lines
274 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @noUnusedParameters: true
|
|
//// class A {
|
|
//// [|public f1<X, Y, Z>(a: X)|] { a; var b: Z; b }
|
|
//// }
|
|
|
|
verify.codeFix({
|
|
description: "Remove declaration for: 'Y'",
|
|
newRangeContent: "public f1<X, Z>(a: X)",
|
|
});
|