aliasAssignments_1.ts(3,1): error TS2322: Type 'number' is not assignable to type 'typeof import("aliasAssignments_moduleA")'.
aliasAssignments_1.ts(5,1): error TS2322: Type 'typeof import("aliasAssignments_moduleA")' is not assignable to type 'number'.
aliasAssignments_moduleA.ts(2,12): error TS2564: Property 'someData' has no initializer and is not definitely assigned in the constructor.


==== aliasAssignments_1.ts (2 errors) ====
    import moduleA = require("./aliasAssignments_moduleA");
    var x = moduleA;
    x = 1; // Should be error
    ~
!!! error TS2322: Type 'number' is not assignable to type 'typeof import("aliasAssignments_moduleA")'.
    var y = 1;
    y = moduleA; // should be error
    ~
!!! error TS2322: Type 'typeof import("aliasAssignments_moduleA")' is not assignable to type 'number'.
    
==== aliasAssignments_moduleA.ts (1 errors) ====
    export class someClass {
        public someData: string;
               ~~~~~~~~
!!! error TS2564: Property 'someData' has no initializer and is not definitely assigned in the constructor.
    }
    