TypeScript/tests/cases/fourslash/codeFixUnusedIdentifier_removeVariableStatement.ts
Vyacheslav Pukhanov 75f20f9b65 fixUnusedIdentifier: fix "Remove variable statement" codefix (#24497)
* fixUnusedIdentifier: fix "Remove variable statement" codefix

* Add test for a single "Remove variable statement" codefix in a file
2018-05-30 14:51:08 -07:00

15 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() {
}`,
});