Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
type alias OmitComplexes
import { type OmitComplexes } from "https://deno.land/std@0.218.2/collections/mod.ts";

Exclude map, sets and array from type

definition: Omit<T, keyof PartialByType<T,
| Map<unknown, unknown>
| Set<unknown>
| Array<unknown>
| Record<PropertyKey, unknown>
>>