TypeScript/tests/cases/fourslash/goToDefinitionOverloadsInMultiplePropertyAccesses.ts

15 lines
430 B
TypeScript
Raw Normal View History

/// <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;
//// export function /*1*/f(value: string): void;
//// export function f(value: number | string) {}
//// }
////}
2017-10-19 00:49:46 +02:00
////A.B.[|/*2*/f|]("");
2016-08-29 22:34:32 +02:00
verify.goToDefinition("2", "1");