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.
==== collisionThisExpressionAndLocalVarInAccessors.ts (0 errors) ====
    class class1 {
        get a(): number {
            var x2 = {
                doStuff: (callback) => () => {
                    var _this = 2;
                    return callback(this);
                }
            }
    
            return 10;
        }
        set a(val: number) {
            var x2 = {
                doStuff: (callback) => () => {
                    var _this = 2;
                    return callback(this);
                }
            }
    
        }
    }
    
    class class2 {
        get a(): number {
            var _this = 2;
            var x2 = {
                doStuff: (callback) => () => {
                    return callback(this);
                }
            }
    
            return 10;
        }
        set a(val: number) {
            var _this = 2;
            var x2 = {
                doStuff: (callback) => () => {
                    return callback(this);
                }
            }
    
        }
    }