TypeScript/tests/cases/fourslash/goToImplementationInterfaceMethod_04.ts
2016-09-13 17:33:49 -07:00

25 lines
536 B
TypeScript

/// <reference path='fourslash.ts'/>
// Should return implementation in class and all sub-classes of target
//// interface Foo {
//// hello (): void;
//// }
////
//// class Bar extends SuperBar {
//// [|hello() {}|]
//// }
////
//// class SuperBar implements Foo {
//// [|hello() {}|]
//// }
////
//// class OtherBar implements Foo {
//// hello() {} // should not show up
//// }
////
//// function (x: SuperBar) {
//// x.he/*function_call*/llo()
//// }
verify.allRangesAppearInImplementationList("function_call");