TypeScript/tests/cases/fourslash/goToImplementationShorthandPropertyAssignment_02.ts
2016-09-13 17:33:49 -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");