@vsokolov/utils - v1.4.2
    Preparing search index...

    Type Alias FetchResponse<T>

    FetchResponse:
        | { statusCode: number; data: T; error: null }
        | { statusCode: number | null; data: T | null; error: Error }

    Type representing either a successful or failed fetch response

    Type Parameters

    • T