2016-10-12 00:04:04 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @noUnusedLocals: true
|
2017-12-07 21:14:18 +01:00
|
|
|
////for (const elem in ["a", "b", "c"]) {}
|
2016-10-12 00:04:04 +02:00
|
|
|
|
2017-10-10 20:28:05 +02:00
|
|
|
verify.codeFix({
|
2018-06-27 18:26:47 +02:00
|
|
|
index: 1,
|
2017-12-02 01:38:59 +01:00
|
|
|
description: "Prefix 'elem' with an underscore",
|
2017-12-07 21:14:18 +01:00
|
|
|
newFileContent: 'for (const _elem in ["a", "b", "c"]) {}',
|
2017-10-10 20:28:05 +02:00
|
|
|
});
|