2016-08-22 22:57:40 +02:00
|
|
|
/// <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
|
|
|
|
//// };
|
|
|
|
////
|
2018-05-31 22:32:02 +02:00
|
|
|
//// function [|hello|]() {}
|
2016-08-22 22:57:40 +02:00
|
|
|
//// }
|
|
|
|
////
|
|
|
|
//// function whatever(x: Foo) {
|
|
|
|
//// x.h/*function_call*/ello();
|
|
|
|
//// }
|
|
|
|
|
2016-09-14 02:33:49 +02:00
|
|
|
verify.allRangesAppearInImplementationList("function_call");
|