error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.


!!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
==== consumer.ts (0 errors) ====
    import e = require('./exporter');
    
    export function w(): e.w { // Should be OK
        return {name: 'value' };
    }
==== w1.ts (0 errors) ====
    export = Widget1
    interface Widget1 { name: string; }
    
==== exporter.ts (0 errors) ====
    export import w = require('./w1');
    