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.
==== ambientExternalModuleWithoutInternalImportDeclaration_1.ts (0 errors) ====
    ///<reference path='ambientExternalModuleWithoutInternalImportDeclaration_0.ts'/>
    import A = require('M');
    var c = new A();
==== ambientExternalModuleWithoutInternalImportDeclaration_0.ts (0 errors) ====
    declare module 'M' {
        namespace C {
            export var f: number;
        }
        class C {
            foo(): void;
        }
        export = C;
    
    }
    