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.
==== superPropertyAccessNoError.ts (0 errors) ====
    //super.publicInstanceMemberFunction in constructor of derived class
    //super.publicInstanceMemberFunction in instance member function of derived class
    //super.publicInstanceMemberFunction in instance member accessor(get and set) of derived class
    //super.publicInstanceMemberFunction in lambda in member function
    //super.publicStaticMemberFunction in static member function of derived class
    //super.publicStaticMemberFunction in static member accessor(get and set) of derived class
    
    
    class SomeBaseClass {
        public func() {
            return '';
        }
    
        static func() {
            return 3;
        }
    
        returnThis() {
            return this;
        }
    }
    
    class SomeDerivedClass extends SomeBaseClass {
        constructor() {
            super();
            var x = super.func();
            var x: string;
        }
    
        fn() {
            var x = super.func();
            var x: string;
            var y = () => super.func();
        }
    
        get a() {
            var x = super.func();
            var x: string;
            return null;
        }
    
        set a(n) {
            var x = super.func();
            var x: string;
        }
    
        static fn() {
            var x = super.func();
            var x: number;
        }
    
        static get a() {
            var x = super.func();
            var x: number;
            return null;
        }
    
        static set a(n) {
            var x = super.func();
            var x: number;
        }
    
        returnThis() {
            return super.returnThis();
        }
    }
    
    let instance = new SomeDerivedClass();
    instance.returnThis().fn();
    