2018-01-11 19:51:55 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @noUnusedLocals: true
|
|
|
|
// @noUnusedParameters: true
|
2018-01-12 20:11:01 +01:00
|
|
|
////[|/*~a*/(/*~b*/x/*~c*/,/*~d*/y/*~e*/)/*~f*/ => /*~g*/x/*~h*/|]
|
2018-01-11 19:51:55 +01:00
|
|
|
|
|
|
|
// In a perfect world, /*~c*/ would probably be retained, rather than /*~e*/.
|
|
|
|
verify.codeFix({
|
2020-01-18 22:28:19 +01:00
|
|
|
description: "Remove unused declaration for: 'y'",
|
2018-01-11 19:51:55 +01:00
|
|
|
index: 0,
|
2018-01-12 20:11:01 +01:00
|
|
|
newRangeContent: "/*~a*/(/*~b*/x/*~e*/)/*~f*/ => /*~g*/x/*~h*/",
|
2018-01-11 19:51:55 +01:00
|
|
|
});
|