2b10611fbf
initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer
17 lines
338 B
TypeScript
17 lines
338 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @noUnusedLocals: true
|
|
////function f1 () [|{
|
|
//// for (const elem of ["a", "b", "c"]) {
|
|
//// elem;
|
|
//// var x = 20;
|
|
//// }
|
|
////}|]
|
|
////
|
|
|
|
verify.rangeAfterCodeFix(`{
|
|
for (const elem of ["a", "b", "c"]) {
|
|
elem;
|
|
}
|
|
}`, /*includeWhiteSpace*/ true);
|