2016-01-27 22:26:41 +01:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
// @allowJs: true
|
|
|
|
// @Filename: a.js
|
2019-06-13 21:25:02 +02:00
|
|
|
////[|exports.[|{| "isWriteAccess": true, "isDefinition": true, "contextRangeIndex": 0 |}area|] = function (r) { return r * r; }|]
|
2016-01-27 22:26:41 +01:00
|
|
|
|
|
|
|
// @Filename: b.js
|
|
|
|
////var mod = require('./a');
|
|
|
|
////var t = mod./**/[|area|](10);
|
|
|
|
|
2019-06-05 23:10:51 +02:00
|
|
|
verify.singleReferenceGroup("(property) area: (r: any) => number", "area");
|
|
|
|
verify.rangesWithSameTextAreRenameLocations("area");
|