Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

Type Parameters

T
optional
Keys extends keyof T = T extends unknown ? keyof T : never
definition: Merge<T extends unknown ? [K in Keysin keyof K extends keyof T ? never : K]?: never & [K in Keysin keyof K extends keyof T ? K : never]: T[K & keyof T] : never>