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 'target=ES5' 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.
!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
==== 0.ts (0 errors) ====
    export function foo() { return "foo"; }
    
==== 1.ts (0 errors) ====
    import("./0");
    var p1 = import("./0");
    p1.then(zero => {
        return zero.foo();
    });
    
    export var p2 = import("./0");
    
    function foo() {
        const p2 = import("./0");
    }
    
    class C {
        method() {
            const loadAsync = import ("./0");
        }
    }
    
    export class D {
        method() {
            const loadAsync = import ("./0");
        }
    }