2016-10-12 00:04:04 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @noUnusedLocals: true
|
|
|
|
// @noUnusedParameters: true
|
|
|
|
//// export {}
|
|
|
|
//// [|var x = function f1(m: number) {}|]
|
|
|
|
//// x;
|
|
|
|
//// export var y: string;
|
|
|
|
|
2017-10-10 20:28:05 +02:00
|
|
|
verify.codeFix({
|
2020-01-18 22:28:19 +01:00
|
|
|
description: "Remove unused declaration for: 'm'",
|
2017-10-10 20:28:05 +02:00
|
|
|
index: 0,
|
|
|
|
newRangeContent: `var x = function f1() {}`,
|
|
|
|
});
|