error TS6082: Only 'amd' and 'system' modules are supported alongside --out.


!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --out.
==== test.ts (0 errors) ====
    var a1 = 10;
    class c1 {
        public p1: number;
    }
    
    var instance1 = new c1();
    function f1() {
        return instance1;
    }