Skip to content

Commit 7d76486

Browse files
author
Kanchalai Tanglertsampan
committed
Add fourslash rename, find-all-reference on imported property
1 parent 6842520 commit 7d76486

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/// <reference path='fourslash.ts' />
2+
3+
// @Filename: foo.ts
4+
//// export function [|bar|]() { return "bar"; }
5+
6+
//// var x = import("./foo");
7+
//// x.then(foo => {
8+
//// foo.[|bar|]();
9+
//// })
10+
11+
verify.rangesReferenceEachOther();
12+
verify.rangesAreRenameLocations();
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/// <reference path='fourslash.ts' />
2+
3+
// @Filename: foo.ts
4+
//// export function /*Desitnation*/bar() { return "bar"; }
5+
6+
//// var x = import("./foo");
7+
//// x.then(foo => {
8+
//// foo.b/*1*/ar();
9+
//// })
10+
11+
verify.goToDefinition("1", "Destination");

0 commit comments

Comments
 (0)