2017-02-23 01:15:16 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
2017-12-07 21:14:18 +01:00
|
|
|
////abstract class A {
|
2017-02-23 01:15:16 +01:00
|
|
|
//// abstract x: this;
|
2017-12-07 21:14:18 +01:00
|
|
|
////}
|
2017-02-23 01:15:16 +01:00
|
|
|
////
|
2017-12-07 21:14:18 +01:00
|
|
|
////class C extends A {[| |]}
|
2017-02-23 01:15:16 +01:00
|
|
|
|
2017-12-07 21:14:18 +01:00
|
|
|
verify.codeFix({
|
|
|
|
description: "Implement inherited abstract class",
|
|
|
|
newFileContent:
|
|
|
|
`abstract class A {
|
|
|
|
abstract x: this;
|
|
|
|
}
|
|
|
|
|
2018-01-12 02:43:27 +01:00
|
|
|
class C extends A {
|
|
|
|
x: this;
|
2017-12-07 21:14:18 +01:00
|
|
|
}`,
|
|
|
|
});
|