import { _addIssue } from "https://deno.land/x/valibot@v0.2.1-to-json-schema/src/utils/index.ts";
Adds an issue to the dataset.
Parameters
context: TContext & { expects?: string | null; requirement?: unknown; message?: ErrorMessage<Extract<InferIssue<TContext>, { type: TContext["type"]; }>> | undefined; }
The issue context.
config: Config<InferIssue<TContext>>
The configuration.
optional
other: Other<TContext>The optional props.