import { type OptionalKeys } from "https://deno.land/x/deco@1.75.1/deps.ts";
OptionalKeys
Examples
type Props = { req: number; reqUndef: number | undefined; opt?: string; optUndef?: number | undefined; };
type Props = { req: number; reqUndef: number | undefined; opt?: string; optUndef?: number | undefined; };
// Expect: "opt" | "optUndef" type Keys = OptionalKeys;