Aller au contenu principal

SafeParseResult<T>

SafeParseResult<T> = { success: true; data: T; } | { success: false; error: string; }

Result type for safe parsing operations.


Type Parameters

T: T

The type of the parsed data.


Since

2.0.0