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.
==== file1.d.ts (0 errors) ====
    declare module "file1" {
        class foo {}
        namespace foo {
            class A {}
        }
        export = foo;
    }
    
    
==== file2.ts (0 errors) ====
    /// <reference path="file1.d.ts"/>
    import x = require("file1"); 
    
    // OK - './file1' is a namespace
    declare module "file1" {
        interface A { a: number }
    }
    
==== file3.ts (0 errors) ====
    import * as x from "file1";
    import "file2";
    let a: x.A;
    let b = a.a;