=== tests/cases/compiler/mismatchedGenericArguments1.ts === interface IFoo { >IFoo : IFoo >T : T foo(x: T): T; >foo : (x: T) => T >T : T >x : T >T : T >T : T } class C implements IFoo { >C : C >T : T >IFoo : IFoo >T : T foo(x: string): number { >foo : (x: string) => number >x : string return null; >null : null } } class C2 implements IFoo { >C2 : C2 >T : T >IFoo : IFoo >T : T foo(x: string): number { >foo : (x: string) => number >U : U >x : string return null; >null : null } }