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>EmptyToOptional

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
type alias EmptyToOptional
import { type EmptyToOptional } from "https://deno.land/x/pothos@release-1713397530/packages/core/mod.ts";
definition: T extends object ? Normalize<[K in EmptyKeys<T> | OptionalKeys<T>]?: T[K] & [K in NonEmptyKeys<T>]: T[K]> : T