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


!!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
==== test/file1.ts (0 errors) ====
    import foo = require('foo');
    import other = require('./other');
    import relMod = require('./sub/relMod');
    
    if(foo.M2.x){
    	var x = new relMod(other.M2.x.charCodeAt(0));
    }
    
==== test/foo.d.ts (0 errors) ====
    export declare namespace M2 {
    	export var x: boolean;
    }
    
==== test/other.d.ts (0 errors) ====
    export declare namespace M2 {
    	export var x: string;
    }
    
==== test/sub/relMod.d.ts (0 errors) ====
    declare class Test {
    	constructor(x: number);
    }
    export = Test;
    