Skip to main content
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
Go to Latest
type alias OutputShape
import { type OutputShape } from "https://deno.land/x/pothos@release-1713397530/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