-
Notifications
You must be signed in to change notification settings - Fork 12.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix navigation on symbols that are not aliases but resolve through al…
…iases in chain
- Loading branch information
1 parent
d14962b
commit 034bfe5
Showing
4 changed files
with
43 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
tests/cases/fourslash/server/goToSource11_propertyOfAlias.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/// <reference path="../fourslash.ts" /> | ||
|
||
// @moduleResolution: node | ||
|
||
// @Filename: /a.js | ||
//// export const a = { /*end*/a: 'a' }; | ||
|
||
// @Filename: /a.d.ts | ||
//// export declare const a: { a: string }; | ||
|
||
// @Filename: /b.ts | ||
//// import { a } from './a'; | ||
//// a.[|a/*start*/|] | ||
|
||
verify.goToSourceDefinition("start", "end"); |