@karmaniverous/get-dotenv
    Preparing search index...

    Variable createToJSONSchemaMethodConst

    createToJSONSchemaMethod: <T extends z.core.$ZodType>(
        schema: T,
        processors?: Record<string, Processor>,
    ) => (params?: ToJSONSchemaParams) => ZodStandardJSONSchemaPayload<T>

    Creates a toJSONSchema method for a schema instance. This encapsulates the logic of initializing context, processing, extracting defs, and finalizing.

    Type Declaration