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