Skip to main content
Module

x/unknownutil/mod.ts>ObjectOf

🦕 A lightweight utility pack for handling unknown type
Go to Latest
type alias ObjectOf
import { type ObjectOf } from "https://deno.land/x/unknownutil@v3.13.0/mod.ts";
definition: FlatType<[K in Exclude<keyof T, OptionalPredicateKeys<T>>]: T[K] extends Predicate<infer U> ? U : never & [K in OptionalPredicateKeys<T>]?: T[K] extends Predicate<infer U> ? U : never>