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 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
==== es5-yieldFunctionObjectLiterals.ts (0 errors) ====
    // mainly to verify indentation of emitted code
    
    function g() { return "g"; }
    
    function* objectLiteral1() {
        const x = {
            a: 1,
            b: yield 2,
            c: 3,
        }
    }
    
    function* objectLiteral2() {
        const x = {
            a: 1,
            [g()]: yield 2,
            c: 3,
        }
    }
    
    function* objectLiteral3() {
        const x = {
            a: 1,
            b: yield 2,
            [g()]: 3,
            c: 4,
        }
    }
    
    function* objectLiteral4() {
        const x = {
            a: 1,
            [g()]: 2,
            b: yield 3,
            c: 4,
        }
    }
    
    function* objectLiteral5() {
        const x = {
            a: 1,
            [g()]: yield 2,
            c: 4,
        }
    }
    
    function* objectLiteral6() {
        const x = {
            a: 1,
            [yield]: 2,
            c: 4,
        }
    }
    
    function* objectLiteral7() {
        const x = {
            a: 1,
            [yield]: yield 2,
            c: 4,
        }
    }
    