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

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

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

Type Parameters

PartialTypes extends Partial<PothosSchemaTypes.UserSchemaTypes>
definition: (PartialTypes["Defaults"] extends "v3" ? V3DefaultScalars : DefaultScalars) extends infer Defaults ? SchemaTypes["Scalars"] & [K in keyof Defaults | keyof PartialTypes["Scalars"]]: K extends keyof PartialTypes["Scalars"] ? PartialTypes["Scalars"][K] : K extends keyof Defaults ? Defaults[K] : never : never