Ⓙ Jike SDK
    Preparing search index...

    Interface ApiSuccessResponse<T>

    API 成功响应

    interface ApiSuccessResponse<T = any> {
        data: T & { success: true };
        headers: Headers;
        ok: boolean;
        redirected: boolean;
        status: number;
        statusText: string;
        type: ResponseType;
        url: string;
    }

    Type Parameters

    • T = any

      响应数据

    Hierarchy

    • ResponseMeta
      • ApiSuccessResponse
    Index

    Properties

    data: T & { success: true }

    Type declaration

    • success: true

      是否请求成功

    headers: Headers
    ok: boolean
    redirected: boolean
    status: number
    statusText: string
    type: ResponseType
    url: string