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.
==== sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues.ts (0 errors) ====
    declare var console: {
        log(msg: string): void;
    }
    type Robot = [number, string, string];
    var robotA: Robot = [1, "mower", "mowing"];
    var robotB: Robot = [2, "trimmer", "trimming"];
    
    let [, nameA = "noName"] = robotA;
    let [numberB = -1] = robotB;
    let [numberA2 = -1, nameA2 = "noName", skillA2 = "noSkill"] = robotA;
    
    let [numberC2 = -1] = [3, "edging", "Trimming edges"];
    let [numberC = -1, nameC = "noName", skillC = "noSkill"] = [3, "edging", "Trimming edges"];
    
    let [numberA3 = -1, ...robotAInfo] = robotA;
    
    if (nameA == nameA2) {
        console.log(skillA2);
    }