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

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

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

Type Parameters

T extends unknown[]
optional
Index extends keyof T = LastIndex<T>
definition: undefined extends T[Index] ? { } extends T[Index] ? undefined extends { } ? [K in keyof T]?: T[K] : T : [K in keyof T]-?: T[K] : { } extends T[Index] ? [K in keyof T]?: T[K] : T