StandardSchemaResult #

What validate() of a Standard Schema returns.

TypeScript
type StandardSchemaResult<Output> =
  | { value: Output; issues?: undefined }
  | { issues: readonly StandardSchemaIssue[] }

Edit this page

Comments