Documentation

type Schema​.ParseResult

The result of a schema parse operation.

type ParseResult<T> =
| {
success: true;
data: T;
}
| {
success: false;
error: StringConvertible;
errors?: Record<string, StringConvertible | undefined>;
};

Notes

Related