TypeScript/tests/cases/fourslash/goToImplementationShorthandPropertyAssignment_02.ts

21 lines
489 B
TypeScript
Raw Normal View History

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
//// };
////
//// 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");