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