import { objectEntries } from "https://deno.land/x/actionify@0.3.0/config/deps.ts";
A strongly-typed version of Object.entries()
.
This is useful since Object.entries()
always returns an array of Array<[string, T]>
. This function returns a strongly-typed array of the entries of the given object.