==== tests/cases/compiler/genericTypeAssertions1.ts (3 errors) ==== class A { foo(x: T) { }} var foo = new A(); var r: A = >new A(); // error ~ !!! Type 'A' is not assignable to type 'A': !!! Type 'number' is not assignable to type 'string'. var r2: A = >>foo; // error ~~ !!! Type 'A>' is not assignable to type 'A': !!! Type 'A' is not assignable to type 'number'. ~~~~~~~~~~~~~~~~~ !!! Neither type 'A>' nor type 'A' is assignable to the other: !!! Type 'A' is not assignable to type 'number'.