Property ‘entries’ does not exist on type ‘ObjectConstructor’
You’re quite correct that changing target is the wrong approach and changing lib is the correct approach, however you have specified the wrong version of the language. According to MDN, Object.entries was officially added in the ES2017 specification. “lib”: [“es2017”] is therefore what you must specify instead*. If you wish to add only the declarations … Read more