diff --git a/tests/cases/fourslash/codeFixClassExtendsAbstractMethodTypeParamsInstantiateNumber.ts b/tests/cases/fourslash/codeFixClassExtendsAbstractMethodTypeParamsInstantiateNumber.ts index cf8747d482e..d434f282884 100644 --- a/tests/cases/fourslash/codeFixClassExtendsAbstractMethodTypeParamsInstantiateNumber.ts +++ b/tests/cases/fourslash/codeFixClassExtendsAbstractMethodTypeParamsInstantiateNumber.ts @@ -1,13 +1,13 @@ /// //// abstract class A { -//// abstract f(); +//// abstract f(x: T); //// } //// //// class C extends A {[| //// |]} -verify.rangeAfterCodeFix(`f(){ +verify.rangeAfterCodeFix(`f(x: number){ throw new Error('Method not Implemented'); } `); \ No newline at end of file diff --git a/tests/cases/fourslash/codeFixClassExtendsAbstractMethodTypeParamsInstantiateU.ts b/tests/cases/fourslash/codeFixClassExtendsAbstractMethodTypeParamsInstantiateU.ts index 64f74262ba8..7d6b8e1e815 100644 --- a/tests/cases/fourslash/codeFixClassExtendsAbstractMethodTypeParamsInstantiateU.ts +++ b/tests/cases/fourslash/codeFixClassExtendsAbstractMethodTypeParamsInstantiateU.ts @@ -1,13 +1,13 @@ /// //// abstract class A { -//// abstract f(); +//// abstract f(x: T); //// } //// //// class C extends A {[| //// |]} -verify.rangeAfterCodeFix(`f(){ +verify.rangeAfterCodeFix(`f(x: U){ throw new Error('Method not Implemented'); } `); \ No newline at end of file diff --git a/tests/cases/fourslash/codeFixUnImplementedInterfaceMissingMethodTypeParams.ts b/tests/cases/fourslash/codeFixUnImplementedInterfaceTypeParamMethod.ts similarity index 59% rename from tests/cases/fourslash/codeFixUnImplementedInterfaceMissingMethodTypeParams.ts rename to tests/cases/fourslash/codeFixUnImplementedInterfaceTypeParamMethod.ts index 83299f10ecf..bd221ceb8cb 100644 --- a/tests/cases/fourslash/codeFixUnImplementedInterfaceMissingMethodTypeParams.ts +++ b/tests/cases/fourslash/codeFixUnImplementedInterfaceTypeParamMethod.ts @@ -1,12 +1,12 @@ /// //// interface I { -//// f(); +//// f(x: T); //// } //// //// class C implements I {[| |]} -verify.rangeAfterCodeFix(`f(){ +verify.rangeAfterCodeFix(`f(x: T){ throw new Error('Method not Implemented'); } `); \ No newline at end of file