If you call findRenameLocations on the variable foo in this code, with findInStrings set to true, it will find the two locations in ordinary string literals, but not the four locations in template strings:
var foo;
var a = "foo";
var b = 'foo';
var c = `foo`;
var d = `foo ${a} foo ${b} foo`;
If you call
findRenameLocationson the variablefooin this code, withfindInStringsset to true, it will find the two locations in ordinary string literals, but not the four locations in template strings: