Type Alias: UnknownResult
UnknownResult =
Result
<unknown
,unknown
>
Defined in: index.ts:88
A generic Result type with unknown data and error types. Useful when you need to work with results but don't know the specific types.
Example
typescript
function logResult(result: UnknownResult): void {
console.log(result.success ? "✓" : "✗", result.success ? result.data : result.error);
}