Skip to main content
Module

x/ts_toolbelt_unofficial/mod.ts>O.Exclude

👷 TypeScript's largest type utility library, now on Deno
Latest
type alias O.Exclude
import { type O } from "https://deno.land/x/ts_toolbelt_unofficial@1.1.0/mod.ts";
const { Exclude } = O;

Exclude the fields of O1 out of O (If match = 'default', no type checks are done)

Examples

Example 1

Type Parameters

O extends object
O1 extends object
optional
match extends Match = "default"
definition: Pick<O, ExcludeKeys<O, O1, match>>