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

x/windmill/node_modules/tsafe/PickOptionals.d.ts>PickOptionals

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
type alias PickOptionals
import { type PickOptionals } from "https://deno.land/x/windmill@v1.354.0/node_modules/tsafe/PickOptionals.d.ts";

PickOptionals<{ p1: string; p2?: string; p3?: number; }> is the type { p2: string; p3: number; }

Type Parameters

T extends Record<string, unknown>
definition: Required<Pick<T, OptionalKeyof<T>>>