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