exportAssignmentOfGenericType1_0.ts(2,14): error TS2564: Property 'foo' has no initializer and is not definitely assigned in the constructor.
exportAssignmentOfGenericType1_1.ts(2,20): error TS2307: Cannot find module 'exportAssignmentOfGenericType1_0' or its corresponding type declarations.
exportAssignmentOfGenericType1_1.ts(6,17): error TS2454: Variable 'm' is used before being assigned.
exportAssignmentOfGenericType1_1.ts(6,19): error TS2339: Property 'foo' does not exist on type 'M'.


==== exportAssignmentOfGenericType1_1.ts (3 errors) ====
    ///<reference path='exportAssignmentOfGenericType1_0.ts'/>
    import q = require("exportAssignmentOfGenericType1_0");
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!!! error TS2307: Cannot find module 'exportAssignmentOfGenericType1_0' or its corresponding type declarations.
    
    class M extends q<string> { }
    var m: M;
    var r: string = m.foo;
                    ~
!!! error TS2454: Variable 'm' is used before being assigned.
                      ~~~
!!! error TS2339: Property 'foo' does not exist on type 'M'.
    
==== exportAssignmentOfGenericType1_0.ts (1 errors) ====
    export = T;
    class T<X> { foo: X; }
                 ~~~
!!! error TS2564: Property 'foo' has no initializer and is not definitely assigned in the constructor.
    