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

x/typebox_deno/src/typebox.ts>ReadonlyOptionalPropertyKeys

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