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.
==== commentsModules.ts (0 errors) ====
    /** Module comment*/
    namespace m1 {
        /** b's comment*/
        export var b: number;
        /** foo's comment*/
        function foo() {
            return b;
        }
        /** m2 comments*/
        export namespace m2 {
            /** class comment;*/
            export class c {
            };
            /** i*/
            export var i = new c();
        }
        /** exported function*/
        export function fooExport() {
            return foo();
        }
    
        // shouldn't appear
        export function foo2Export(/**hm*/ a: string) {
        }
    
        /** foo3Export
         * comment
         */
        export function foo3Export() {
        }
    
        /** foo4Export
         * comment
         */
        function foo4Export() {
        }
    } // trailing comment module
    m1.fooExport();
    var myvar = new m1.m2.c();
    /** module comment of m2.m3*/
    namespace m2.m3 {
        /** Exported class comment*/
        export class c {
        }
    } /* trailing dotted module comment*/
    new m2.m3.c();
    /** module comment of m3.m4.m5*/
    namespace m3.m4.m5 {
        /** Exported class comment*/
        export class c {
        }
    } // trailing dotted module 2
    new m3.m4.m5.c();
    /** module comment of m4.m5.m6*/
    namespace m4.m5.m6 {
        export namespace m7 {
            /** Exported class comment*/
            export class c {
            }
        } /* trailing inner module */ /* multiple comments*/
    }
    new m4.m5.m6.m7.c();
    /** module comment of m5.m6.m7*/
    namespace m5.m6.m7 {
        /** module m8 comment*/
        export namespace m8 {
            /** Exported class comment*/
            export class c {
            }
        }
    }
    new m5.m6.m7.m8.c();
    namespace m6.m7 {
        export namespace m8 {
            /** Exported class comment*/
            export class c {
            }
        }
    }
    new m6.m7.m8.c();
    namespace m7.m8 {
        /** module m9 comment*/
        export namespace m9 {
            /** Exported class comment*/
            export class c {
            }
    
            /** class d */
            class d {
            }
    
            // class e
            export class e {
            }
        }
    }
    new m7.m8.m9.c();