9d42ab983d
* implementations: Use declaration name for the span * Always get name in nodeEntry
21 lines
489 B
TypeScript
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"); |