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

12 lines
247 B
TypeScript

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