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.
==== useObjectValuesAndEntries1.ts (0 errors) ====
    var o = { a: 1, b: 2 };
    
    for (var x of Object.values(o)) {
        let y = x;
    }
    
    var entries = Object.entries(o);                    // [string, number][]
    var values = Object.values(o);                      // number[]
    
    var entries1 = Object.entries(1);                   // [string, any][]
    var values1 = Object.values(1);                     // any[]
    
    var entries2 = Object.entries({ a: true, b: 2 });   // [string, number|boolean][]
    var values2 = Object.values({ a: true, b: 2 });     // (number|boolean)[]
    
    var entries3 = Object.entries({});                  // [string, {}][]
    var values3 = Object.values({});                    // {}[]
    
    var a = ["a", "b", "c"];
    var entries4 = Object.entries(a);                   // [string, string][]
    var values4 = Object.values(a);                     // string[]
    
    enum E { A, B }
    var entries5 = Object.entries(E);                   // [string, any][]
    var values5 = Object.values(E);                     // any[]
    
    interface I { }
    var i: I = {};
    var entries6 = Object.entries(i);                   // [string, any][]
    var values6 = Object.values(i);                     // any[]