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

x/ldkit/library/lens/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 unknown = Record<string, unknown>,> = & DeepPartial<T> & SchemaInterfaceIdentity;
export type DeepPartial<T> = T extends Record<string, unknown> ? { [P in keyof T]?: DeepPartial<T[P]> } : T;