TypeScript/tests/cases/fourslash/goToImplementationInterface_01.ts
Andy 9d42ab983d
implementations: Use declaration name for the span (#24537)
* implementations: Use declaration name for the span

* Always get name in nodeEntry
2018-05-31 13:32:02 -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");