Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/pothos/packages/core/mod.ts>OptionalKeys

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
type alias OptionalKeys
import { type OptionalKeys } from "https://deno.land/x/pothos@release-1716310600/packages/core/mod.ts";

Type Parameters

T extends object
definition: [K in keyof T]: T[K] | undefined extends T[K] ? K : T[K] | null extends T[K] ? K : never[keyof T]