Object.fromEntries() typesctipy code example Example: object.fromentries typescript "lib": ["es2018", "dom", "esnext"]