14 lines
458 B
TypeScript
14 lines
458 B
TypeScript
/// <reference path="../fourslash.ts"/>
|
|
|
|
// @Filename: referencesForGlobals_1.ts
|
|
////[|var [|{| "contextRangeIndex": 0 |}globalName|] = 0;|]
|
|
|
|
// @Filename: referencesForGlobals_2.ts
|
|
////var y = [|globalName|];
|
|
|
|
// @Filename: tsconfig.json
|
|
////{ "files": ["referencesForGlobals_1.ts", "referencesForGlobals_2.ts"] }
|
|
|
|
const [rDef, ...ranges] = test.ranges();
|
|
verify.rangesAreRenameLocations({ findInStrings: true, findInComments: true, ranges });
|