error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
letInLetDeclarations_ES5.ts(2,13): error TS1212: Identifier expected. 'let' is a reserved word in strict mode.
letInLetDeclarations_ES5.ts(2,13): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations.
letInLetDeclarations_ES5.ts(5,17): error TS1212: Identifier expected. 'let' is a reserved word in strict mode.
letInLetDeclarations_ES5.ts(5,17): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations.


!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
==== letInLetDeclarations_ES5.ts (4 errors) ====
    // All use of let in const declaration should be an error
    let x = 50, let = 5;
                ~~~
!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode.
                ~~~
!!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations.
    
    {
        let x = 10, let = 20;
                    ~~~
!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode.
                    ~~~
!!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations.
    }