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.
==== collisionSuperAndLocalFunctionInAccessors.ts (0 errors) ====
    function _super() { // No error
    }
    class Foo {
        get prop1(): number {
            function _super() { // No error
            }
            return 10;
        }
        set prop1(val: number) {
            function _super() { // No error
            }
        }
    }
    class b extends Foo {
        get prop2(): number {
            function _super() { // Should be error
            }
            return 10;
        }
        set prop2(val: number) {
            function _super() { // Should be error
            }
        }
    }
    class c extends Foo {
        get prop2(): number {
            var x = () => {
                function _super() { // Should be error
                }
            }
            return 10;
        }
        set prop2(val: number) {
            var x = () => {
                function _super() { // Should be error
                }
            }
        }
    }