onrails
    Preparing search index...

    Type Alias FetchResult<T>

    openapi-fetch style response before unwrapping

    type FetchResult<T> = {
        data?: T;
        error?: unknown;
        response: Response;
    }

    Type Parameters

    • T
    Index

    Properties

    Properties

    data?: T
    error?: unknown
    response: Response