Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/node_modules/tsafe/src/PickOptionals.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.422.0/node_modules/tsafe/src/PickOptionals.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>>>