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

x/pothos/packages/core/refs/union.ts>default

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
class default
implements OutputRef, [PothosSchemaTypes.UnionRef]<T, P>
extends BaseTypeRef
import { default } from "https://deno.land/x/pothos@release-1713397530/packages/core/refs/union.ts";

Constructors

new
default(name: string)

Type Parameters

T
optional
P = T

Properties

$inferType: T
kind: "Union"
[outputShapeKey]: T
[parentShapeKey]: P