initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer
16 lines
338 B
TypeScript
16 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);
|