2016-08-30 15:51:52 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// Test that we can climb past more than one property access to reach a call expression.
|
|
|
|
|
|
|
|
////namespace A {
|
|
|
|
//// export namespace B {
|
|
|
|
//// export function f(value: number): void;
|
2017-01-09 18:40:03 +01:00
|
|
|
//// export function /*1*/f(value: string): void;
|
2016-08-30 15:51:52 +02:00
|
|
|
//// export function f(value: number | string) {}
|
|
|
|
//// }
|
|
|
|
////}
|
2017-10-19 00:49:46 +02:00
|
|
|
////A.B.[|/*2*/f|]("");
|
2016-08-30 15:51:52 +02:00
|
|
|
|
2016-08-29 22:34:32 +02:00
|
|
|
verify.goToDefinition("2", "1");
|