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

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

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

Type Parameters

T extends object
definition: [K in keyof T]: { } extends T[K] ? never : T[K] extends NonNullable<T[K]> ? K : never[keyof T]