fromentries typescript code example Example: object.fromentries typescript "lib": ["es2018", "dom", "esnext"]