Documentation

type Schema​.StandardResult

Standard Schema v1 result type.

type StandardResult<T> =
| {
value: T;
issues?: undefined;
}
| {
issues: ReadonlyArray<{
message: string;
path?: PropertyKey[];
}>;
};

Related