import { type OptionalUnwrapType } from "https://deno.land/x/typebox@0.31.20/src/typebox.ts";
Type Parameters
T extends TSchema
definition: T extends TReadonly<infer S> ? TReadonly<OptionalUnwrapType<S>> : T extends TOptional<infer S> ? OptionalUnwrapType<S> : T