TypeScript/tests/cases/fourslash/codeFixChangeExtendsToImplementsTypeParams.ts

10 lines
292 B
TypeScript
Raw Normal View History

2016-11-05 00:34:10 +01:00
/// <reference path='fourslash.ts' />
////interface I<X, Y> { x: X; y: Y; }
////[|class C<T extends string , U> extends I<T , U>|]{}
2016-11-05 00:34:10 +01:00
verify.codeFix({
description: "Change 'extends' to 'implements'",
newRangeContent: "class C<T extends string , U> implements I<T , U>",
});