2016-08-22 22:57:40 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
//// interface Fo/*interface_definition*/o { hello(): void }
|
|
|
|
////
|
2018-05-31 22:32:02 +02:00
|
|
|
//// class [|SuperBar|] implements Foo {
|
2016-08-22 22:57:40 +02:00
|
|
|
//// hello () {}
|
2018-05-31 22:32:02 +02:00
|
|
|
//// }
|
2016-08-22 22:57:40 +02:00
|
|
|
////
|
2018-05-31 22:32:02 +02:00
|
|
|
//// abstract class [|AbstractBar|] implements Foo {
|
2016-08-22 22:57:40 +02:00
|
|
|
//// abstract hello (): void;
|
2018-05-31 22:32:02 +02:00
|
|
|
//// }
|
2016-08-22 22:57:40 +02:00
|
|
|
////
|
2020-04-02 18:57:48 +02:00
|
|
|
//// class [|Bar|] extends SuperBar {
|
2016-08-22 22:57:40 +02:00
|
|
|
//// }
|
|
|
|
////
|
2020-04-02 18:57:48 +02:00
|
|
|
//// class [|NotAbstractBar|] extends AbstractBar {
|
2016-08-22 22:57:40 +02:00
|
|
|
//// hello () {}
|
|
|
|
//// }
|
|
|
|
////
|
|
|
|
//// var x = new SuperBar();
|
|
|
|
//// var y: SuperBar = new SuperBar();
|
|
|
|
//// var z: AbstractBar = new NotAbstractBar();
|
|
|
|
|
2016-09-14 02:33:49 +02:00
|
|
|
verify.allRangesAppearInImplementationList("interface_definition");
|