Skip to main content
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-1713397530/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]