3e32e15895
* Add 'fixAllDescription' property to CodeFixAction * Code review * Add to protocol * Make fixAllDescription be just a string
24 lines
450 B
TypeScript
24 lines
450 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
////class C extends Object {
|
|
//// constructor() {}
|
|
////}
|
|
////class D extends Object {
|
|
//// constructor() {}
|
|
////}
|
|
|
|
verify.codeFixAll({
|
|
fixId: "constructorForDerivedNeedSuperCall",
|
|
fixAllDescription: "Add all missing super calls",
|
|
newFileContent: `class C extends Object {
|
|
constructor() {
|
|
super();
|
|
}
|
|
}
|
|
class D extends Object {
|
|
constructor() {
|
|
super();
|
|
}
|
|
}`,
|
|
});
|