Latest
type alias Optionalize
import { type Optionalize } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/deps.ts";

Makes all of properties in T optional when they're null | undefined it is recursive

definition: T extends object ? T extends Array<unknown> ? number extends T["length"] ? T[number] extends object ? Array<OptionalizeAux<T[number]>> : T : Partial<T> : OptionalizeAux<T> : T
import Optionalize
import { Optionalize } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/deps.ts";