2016-10-12 00:04:04 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @noUnusedLocals: true
|
|
|
|
// @noUnusedParameters: true
|
|
|
|
//// class A<Dummy> { public x: Dummy }
|
|
|
|
//// var x : {
|
|
|
|
//// [|new <T, U, K>(a: T): A<U>;|]
|
|
|
|
//// }
|
|
|
|
|
2017-10-10 20:28:05 +02:00
|
|
|
verify.codeFix({
|
2020-01-18 22:28:19 +01:00
|
|
|
description: "Remove unused declaration for: 'K'",
|
2018-07-27 20:55:31 +02:00
|
|
|
index: 0,
|
2017-10-10 20:28:05 +02:00
|
|
|
newRangeContent: "new <T, U>(a: T): A<U>;",
|
|
|
|
});
|