[]previous and next page

StandardSchemaV1Result

Result of validating: a value, or issues.

Result of validating: a value, or issues.

Import#

ts
import type { StandardSchemaV1Result } from "@shadow-js/dusk/server";

Signature#

ts
type StandardSchemaV1Result<Output> =
  | { readonly value: Output; readonly issues?: undefined }
  | { readonly issues: readonly StandardSchemaV1Issue[] }