//// [typeParameterArgumentEquivalence2.ts] function foo() { var x: (item: U) => boolean; var y: (item: T) => boolean; x = y; // Should be an error y = x; // Shound be an error } //// [typeParameterArgumentEquivalence2.js] function foo() { var x; var y; x = y; y = x; }