import { applyDefaults } from "https://deno.land/x/ana_components@v0.0.102/deps.ts";
This function uses an object that stores the default values for an interface T
. It uses an input object of type Partial with new values to replace matching properties.