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

12 lines
259 B
TypeScript

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