Skip to main content
Module

x/ldkit/library/resource/types.ts

LDkit - Linked Data query toolkit for TypeScript developers
Go to Latest
File
import type { SchemaInterfaceIdentity } from "../schema/mod.ts";
export type Entity<T extends any = Record<string, any>> = & DeepPartial<T> & SchemaInterfaceIdentity;
export type DeepPartial<T> = T extends Function ? T : T extends object ? { [P in keyof T]?: DeepPartial<T[P]> } : T;