StandardSchemaResult
Unpublished development API. This package is under development and is not available as a published release.
What a Standard Schema reports for one value.
import type { StandardSchemaResult } from '@threadplane/core';Declaration
export type StandardSchemaResult<Output> = {
readonly value: Output;
readonly issues?: undefined;
} | {
readonly issues: readonly {
readonly message: string;
}[];
};Type parameters
Output