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({
|
|
|
|
description: "Remove declaration for: 'y'",
|
|
|
|
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
|
|
|
});
|