13 lines
400 B
TypeScript
13 lines
400 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @Filename: foo.ts
|
|
//// [|export function [|{| "isWriteAccess": true, "isDefinition": true, "contextRangeIndex": 0 |}bar|]() { return "bar"; }|]
|
|
|
|
//// var x = import("./foo");
|
|
//// x.then(foo => {
|
|
//// foo.[|bar|]();
|
|
//// })
|
|
|
|
verify.singleReferenceGroup("function bar(): string", "bar");
|
|
verify.rangesWithSameTextAreRenameLocations("bar");
|