TypeScript/tests/cases/fourslash/goToImplementationInterfaceMethod_04.ts

25 lines
536 B
TypeScript
Raw Normal View History

2016-08-22 22:57:40 +02:00
/// <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()
//// }
2016-09-14 02:33:49 +02:00
verify.allRangesAppearInImplementationList("function_call");