TypeScript/tests/cases/fourslash/codeFixClassExtendAbstractExpressionWithTypeArgs.ts

14 lines
284 B
TypeScript
Raw Normal View History

/// <reference path='fourslash.ts' />
//// function foo<T>(a: T) {
//// abstract class C<U> {
//// abstract a: T | U;
//// }
//// return C;
//// }
////
//// class B extends foo("s")<number> {[| |]}
verify.rangeAfterCodeFix(`
a: string | number;
2016-12-14 17:42:05 +01:00
`);