import { type TAwaited } from "https://deno.land/x/typebox@0.31.20/src/typebox.ts";
Type Parameters
T extends TSchema
definition: T extends TIntersect<infer S> ? TIntersect<TAwaitedRest<S>> : T extends TUnion<infer S> ? TUnion<TAwaitedRest<S>> : T extends TPromise<infer S> ? TAwaited<S> : T