TypeScript/tests/cases/fourslash/codeFixClassImplementInterfaceInheritsAbstractMethod.ts
2017-05-15 18:42:49 -07:00

13 lines
333 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/// <reference path='fourslash.ts' />
//// abstract class C1 { }
//// abstract class C2 {
//// abstract f<T extends number>();
//// }
//// interface I1 extends C1, C2 { }
//// class C3 implements I1 {[| |]}
verify.rangeAfterCodeFix(`f<T extends number>(){
throw new Error("Method not implemented.");
}
`);