TypeScript/tests/cases/fourslash/codeFixClassExtendAbstractMethodThis.ts
2017-03-12 18:52:38 -07:00

14 lines
253 B
TypeScript

/// <reference path='fourslash.ts' />
//// abstract class A {
//// abstract f(): this;
//// }
////
//// class C extends A {[| |]}
verify.rangeAfterCodeFix(`
f(): this {
throw new Error("Method not implemented.");
}
`);