Interface TYRequestConfig

interface TYRequestConfig {
    data?: {
        [key: string]: any;
    };
    headers?: {
        [key: string]: string | number;
    };
    method?: "POST" | "GET";
    url?: string;
}

Properties

data?: {
    [key: string]: any;
}
headers?: {
    [key: string]: string | number;
}
method?: "POST" | "GET"
url?: string