13 lines
327 B
TypeScript
13 lines
327 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @noUnusedLocals: true
|
|
// @noUnusedParameters: true
|
|
//// class A<Dummy> { public x: Dummy }
|
|
//// var x : {
|
|
//// [|new <T, U, K>(a: T): A<U>;|]
|
|
//// }
|
|
|
|
verify.codeFix({
|
|
description: "Remove declaration for: 'K'.",
|
|
newRangeContent: "new <T, U>(a: T): A<U>;",
|
|
});
|