Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
type alias KeysWithUndefined
import { type KeysWithUndefined } from "https://deno.land/x/discordeno@17.2.0/plugins/validations/deps.ts";
definition: [K in keyof T]-?: undefined extends T[K] ? K : null extends T[K] ? K : never[keyof T]