Interface ApiResponse<T>

interface ApiResponse<T> {
    data?: T;
    error?: string;
    success: boolean;
}

Type Parameters

  • T

Properties

Properties

data?: T
error?: string
success: boolean