Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/pothos/packages/core/types/index.ts>ValidateInterfaces

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

Type Parameters

Shape
Types extends SchemaTypes
Interfaces extends InterfaceParam<Types>
definition: Interfaces extends InterfaceParam<Types> ? Shape extends GetParentShape<Types, Interfaces> ? Interfaces : "Object shape must extends interface shape" : never