//// [typeParameterUsedAsTypeParameterConstraint3.ts] // Type parameters are in scope in their own and other type parameter lists // Object types //class C { // x: T; // y: U; // z: V; // foo(x: W): T { // var r: T; // return x; // } //} //class C2 { // x: T; // y: U; // z: V; // foo(x: W): T { // var r: T; // return x; // } //} interface I { x: T; y: U; z: V; foo(x: W): T; } interface I2 { x: T; y: U; z: V; foo(x: W): T; } //interface I < T, U extends T, V extends U > { // x: T; // y: U; // z: V; // foo(x: W): T; //} //interface I2 { // x: T; // y: U; // z: V; // foo(x: W): T; //} //// [typeParameterUsedAsTypeParameterConstraint3.js]