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

x/pothos/packages/core/index.ts>OutputShape

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Latest
type alias OutputShape
import { type OutputShape } from "https://deno.land/x/pothos@release-1730496474/packages/core/index.ts";
definition: T extends { [outputShapeKey]: infer U; } ? U : T extends new (...args: any[]) => infer U ? U extends { [outputShapeKey]: infer V; } ? V : U : T extends keyof Types["outputShapes"] ? Types["outputShapes"][T] : T extends BaseEnum ? ValuesFromEnum<T> : never