TypeScript/tests/cases/fourslash/goToDefinitionOverloadsInMultiplePropertyAccesses.ts
2017-10-18 15:49:46 -07:00

15 lines
430 B
TypeScript

/// <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) {}
//// }
////}
////A.B.[|/*2*/f|]("");
verify.goToDefinition("2", "1");