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