TypeScript/tests/cases/fourslash/goToDefinitionOverloadsInMultiplePropertyAccesses.ts

15 lines
426 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");