TypeScript/tests/cases/fourslash/goToImplementationInterfaceMethod_01.ts

22 lines
508 B
TypeScript
Raw Normal View History

2016-08-22 22:57:40 +02:00
/// <reference path='fourslash.ts'/>
// Should return implementations in a simple class
//// interface Foo {
//// hel/*declaration*/lo(): void;
//// okay?: number;
//// }
////
//// class Bar implements Foo {
//// [|hello|]() {}
2016-08-22 22:57:40 +02:00
//// public sure() {}
//// }
////
//// function whatever(a: Foo) {
//// a.he/*function_call*/llo();
//// }
////
//// whatever(new Bar());
2016-09-14 02:33:49 +02:00
verify.allRangesAppearInImplementationList("function_call");
verify.allRangesAppearInImplementationList("declaration");