/app/app.ts(9,1): error TS2719: Type 'C' is not assignable to type 'C'. Two different types with this name exist, but they are unrelated.
  Types have separate declarations of a private property 'x'.


==== /app/app.ts (1 errors) ====
    // We shouldn't resolve symlinks for references either. See the trace.
    /// <reference types="linked" />
    
    import { C as C1 } from "linked";
    import { C as C2 } from "linked2";
    
    let x = new C1();
    // Should fail. We no longer resolve any symlinks.
    x = new C2();
    ~
!!! error TS2719: Type 'C' is not assignable to type 'C'. Two different types with this name exist, but they are unrelated.
!!! error TS2719:   Types have separate declarations of a private property 'x'.
    
==== /linked/index.d.ts (0 errors) ====
    export { real } from "real";
    export class C { private x; }
    
==== /app/node_modules/real/index.d.ts (0 errors) ====
    export const real: string;
    