Skip to main content
Module

x/pothos/packages/core/refs/union.ts>UnionRef#addTypes

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
method UnionRef.prototype.addTypes
import { UnionRef } from "https://deno.land/x/pothos@release-1721684308/packages/core/refs/union.ts";

Parameters

types: ObjectParam<Types>[] | (() => ObjectParam<Types>[])