Skip to content

Commit 4441380

Browse files
committed
tests: edit expected type params
1 parent 55bf3e3 commit 4441380

3 files changed

+6
-6
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/// <reference path='fourslash.ts' />
22

33
//// abstract class A<T> {
4-
//// abstract f<T>();
4+
//// abstract f<T>(x: T);
55
//// }
66
////
77
//// class C extends A<number> {[|
88
//// |]}
99

10-
verify.rangeAfterCodeFix(`f<number>(){
10+
verify.rangeAfterCodeFix(`f(x: number){
1111
throw new Error('Method not Implemented');
1212
}
1313
`);
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/// <reference path='fourslash.ts' />
22

33
//// abstract class A<T> {
4-
//// abstract f<T>();
4+
//// abstract f<T>(x: T);
55
//// }
66
////
77
//// class C<U> extends A<U> {[|
88
//// |]}
99

10-
verify.rangeAfterCodeFix(`f<U>(){
10+
verify.rangeAfterCodeFix(`f(x: U){
1111
throw new Error('Method not Implemented');
1212
}
1313
`);
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/// <reference path='fourslash.ts' />
22

33
//// interface I {
4-
//// f<T extends number>();
4+
//// f<T extends number>(x: T);
55
//// }
66
////
77
//// class C implements I {[| |]}
88

9-
verify.rangeAfterCodeFix(`f<T extends number>(){
9+
verify.rangeAfterCodeFix(`f<T extends number>(x: T){
1010
throw new Error('Method not Implemented');
1111
}
1212
`);

0 commit comments

Comments
 (0)