2017-06-09 19:40:52 +02:00
|
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
|
|
// @Filename: foo.ts
|
2019-06-13 21:25:02 +02:00
|
|
|
|
//// [|export function [|{| "isWriteAccess": true, "isDefinition": true, "contextRangeIndex": 0 |}bar|]() { return "bar"; }|]
|
2017-06-09 19:40:52 +02:00
|
|
|
|
|
|
|
|
|
//// var x = import("./foo");
|
|
|
|
|
//// x.then(foo => {
|
2018-05-07 19:08:38 +02:00
|
|
|
|
//// foo.[|bar|]();
|
2017-06-09 19:40:52 +02:00
|
|
|
|
//// })
|
|
|
|
|
|
2019-06-06 18:49:31 +02:00
|
|
|
|
verify.singleReferenceGroup("function bar(): string", "bar");
|
|
|
|
|
verify.rangesWithSameTextAreRenameLocations("bar");
|