TypeScript/tests/cases/fourslash/goToImplementationShorthandPropertyAssignment_02.ts
Andy 9d42ab983d
implementations: Use declaration name for the span (#24537)
* implementations: Use declaration name for the span

* Always get name in nodeEntry
2018-05-31 13:32:02 -07:00

21 lines
489 B
TypeScript

/// <reference path='fourslash.ts'/>
// Should go to implementation of properties that are assigned to implementations of an interface using shorthand notation
//// interface Foo {
//// hello(): void;
//// }
////
//// function createFoo(): Foo {
//// return {
//// hello
//// };
////
//// function [|hello|]() {}
//// }
////
//// function whatever(x: Foo) {
//// x.h/*function_call*/ello();
//// }
verify.allRangesAppearInImplementationList("function_call");