Skip to main content
Module

x/typeorm/src/index.ts>DeepPartial

Forked from https://github.com/typeorm/typeorm
Latest
type alias DeepPartial
Re-export
import { type DeepPartial } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.ts";

Same as Partial but goes deeper and makes Partial all its properties and sub-properties.

definition: [P in keyof T]?: T[P] extends Array<infer U> ? Array<DeepPartial<U>> : T[P] extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : DeepPartial<T[P]>