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

x/typebox/src/typebox.ts>OptionalPropertyKeys

Json Schema Type Builder with Static Type Resolution for TypeScript
Go to Latest
type alias OptionalPropertyKeys
import { type OptionalPropertyKeys } from "https://deno.land/x/typebox@0.31.20/src/typebox.ts";
definition: [K in keyof T]: T[K] extends TOptional<TSchema> ? (T[K] extends TReadonly<T[K]> ? never : K) : never[keyof T]