Skip to main content
Module

x/yano3nora_tsutils/main.ts>DeepPartialPick

TypeScript Utilities as a npm dual package by Deno.
Go to Latest
type alias DeepPartialPick
import { type DeepPartialPick } from "https://deno.land/x/yano3nora_tsutils@v0.17.0/main.ts";

Examples

type User = { id: number name: string profile: { age: number email: string } }

type UserOptionalProfile = DeepPartialPick<User, 'id' | 'name'> const u: UserOptionalProfile = { id: 1, name: 'john' }

Type Parameters

T
K extends keyof T
definition: DeepPartial<T> & Pick<T, K>