12 lines
252 B
TypeScript
12 lines
252 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @noUnusedLocals: true
|
|
//// class C1 {
|
|
//// [|f1<T extends number, U>(a: U)|] {a;}
|
|
//// }
|
|
|
|
verify.codeFix({
|
|
description: "Remove declaration for: 'T'.",
|
|
newRangeContent: "f1<U>(a: U)",
|
|
});
|