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.
==== typeParameterCompatibilityAccrossDeclarations.ts (0 errors) ====
    var a = {
       x: function <T>(y: T): T { return null; }
    }
    var a2 = {
       x: function (y: any): any { return null; }
    }
    export interface I {
       x<T>(y: T): T;
    }
    export interface I2 {
       x(y: any): any;
    }
     
    var i: I;
    var i2: I2;
     
    a = i; // error
    i = a; // error
     
    a2 = i2; // no error
    i2 = a2; // no error
    