Skip to main content
Module

x/ts_toolbelt_unofficial/mod.ts>O.FilterKeys

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

Filter out the keys of O which fields match M

Examples

Example 1

Type Parameters

O extends object
M extends any
optional
match extends Match = "default"
definition: O extends unknown ? _FilterKeys<O, M, match> : never