=== tests/cases/conformance/types/objectTypeLiteral/callSignatures/identicalCallSignatures.ts === // Each pair of call signatures in these types have a duplicate signature error. // Identical call signatures should generate an error. interface I { >I : I (x): number; >x : any (x: any): number; >x : any (x: T): T; >T : T >x : T >T : T >T : T (x: U): U; // error >U : U >x : U >U : U >U : U } interface I2 { >I2 : I2 >T : T (x: T): T; >x : T >T : T >T : T (x: T): T; // error >x : T >T : T >T : T } var a: { >a : { (x: any): number; (x: any): number; (x: T): T; (x: T): T; } (x): number; >x : any (x: any): number; >x : any (x: T): T; >T : T >x : T >T : T >T : T (x: T): T; // error >T : T >x : T >T : T >T : T }