OmitComplexes

import { OmitComplexes } from "jsr:@ende/collections";

type alias

type OmitComplexes<T> = Omit<T, keyof PartialByType<T, Map<unknown, unknown> | Set<unknown> | Array<unknown> | Record<PropertyKey, unknown>>>

Exclude map, sets and array from type

Source