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

x/ts_essentials/lib/types.ts>StrictOmit

All basic TypeScript types in one place 🤙
Latest
type alias StrictOmit
import { type StrictOmit } from "https://deno.land/x/ts_essentials@v9.1.2/lib/types.ts";

Similar to the builtin Omit, but checks the filter strictly.

Type Parameters

T extends AnyRecord
K extends keyof T
definition: T extends AnyArray ? never : Omit<T, K>