75f20f9b65
* fixUnusedIdentifier: fix "Remove variable statement" codefix * Add test for a single "Remove variable statement" codefix in a file
14 lines
231 B
TypeScript
14 lines
231 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @noUnusedLocals: true
|
|
|
|
////function f() {
|
|
//// let a = 1, b = 2, c = 3;
|
|
////}
|
|
|
|
verify.codeFix({
|
|
description: "Remove variable statement",
|
|
newFileContent:
|
|
`function f() {
|
|
}`,
|
|
});
|