Module

x/pothos/packages/core/index.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://dotland.deno.dev/x/pothos@release-1684230554/packages/core/index.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]