TypeScript/tests/cases/fourslash/renameCommentsAndStrings3.ts
2019-06-13 12:41:21 -07:00

12 lines
367 B
TypeScript

/// <reference path="fourslash.ts" />
///////<reference path="./Bar.ts" />
////[|function [|{| "contextRangeIndex": 0 |}Bar|]() {
//// // This is a reference to [|Bar|] in a comment.
//// "this is a reference to Bar in a string"
////}|]
const [rDef, ...ranges] = test.ranges();
verify.renameLocations(ranges[0], { findInComments: true, ranges });