Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/computed_types/src/utils.ts>AllowPartial

🦩 Joi like validations for TypeScript
Go to Latest
type alias AllowPartial
import { type AllowPartial } from "https://deno.land/x/computed_types@v0.2.1/src/utils.ts";
definition: T extends object ? OptionalKeys<T> extends never ? [K in RequiredKeys<T>]: AllowPartial<T[K]> : [K in RequiredKeys<T>]: AllowPartial<Exclude<T[K], undefined>> & [K in OptionalKeys<T>]?: AllowPartial<T[K]> : T