2016-11-08 04:00:27 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
2017-10-10 20:28:05 +02:00
|
|
|
////abstract class A<T> {
|
2016-11-08 23:26:10 +01:00
|
|
|
//// abstract f(x: T): T;
|
2017-10-10 20:28:05 +02:00
|
|
|
////}
|
2016-11-08 04:00:27 +01:00
|
|
|
////
|
2017-10-10 20:28:05 +02:00
|
|
|
////class C<U> extends A<U> {[| |]}
|
2016-11-08 04:00:27 +01:00
|
|
|
|
2017-10-10 20:28:05 +02:00
|
|
|
verify.codeFix({
|
|
|
|
description: "Implement inherited abstract class.",
|
|
|
|
// TODO: GH#18795
|
|
|
|
newRangeContent: `f(x: U): U {\r
|
|
|
|
throw new Error("Method not implemented.");\r
|
|
|
|
}\r
|
|
|
|
`
|
|
|
|
});
|