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

24 lines
588 B
TypeScript

/// <reference path='fourslash.ts'/>
//// interface Fo/*interface_definition*/o { hello(): void }
////
//// [|class SuperBar implements Foo {
//// hello () {}
//// }|]
////
//// [|abstract class AbstractBar implements Foo {
//// abstract hello (): void;
//// }|]
////
//// class Bar extends SuperBar {
//// }
////
//// class NotAbstractBar extends AbstractBar {
//// hello () {}
//// }
////
//// var x = new SuperBar();
//// var y: SuperBar = new SuperBar();
//// var z: AbstractBar = new NotAbstractBar();
verify.allRangesAppearInImplementationList("interface_definition");