Home > @dinofe/xt-core > XApiResponse

# XApiResponse type

XApiResponse

Signature:

export type XApiResponse<T, U = T> = Pick<ApiResponse<T, U>, keyof ApiResponse<T, T>> & {
    config?: CustomAxiosRequestConfig;
    success?: boolean;
    code?: string;
    msg?: string;
};

References: ApiResponse, CustomAxiosRequestConfig