//// [genericTypeAssertions3.ts] var r = < (x: T) => T > ((x) => { return null; }); // bug was 'could not find dotted symbol T' on x's annotation in the type assertion instead of no error var s = < (x: T) => T > ((x: any) => { return null; }); // no error //// [genericTypeAssertions3.js] var r = (function (x) { return null; }); // bug was 'could not find dotted symbol T' on x's annotation in the type assertion instead of no error var s = (function (x) { return null; }); // no error