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.
==== fncOnly_m4.ts (0 errors) ====
    
    export class d {
    };
    export var x: d;
    export function foo(): d {
        return new d();
    }
    
    
==== useModule.ts (0 errors) ====
    import fncOnly_m4 = require("fncOnly_m4");
    export var useFncOnly_m4_f4 = fncOnly_m4.foo();