Skip to main content
Version: v7.0.0

RequestGenericType


Import
import { RequestGenericType } from "@hyper-fetch/core"

Preview

type RequestGenericType<QueryParams> = {
endpoint?: string;
error?: any;
params?: Record<string, string | number>;
payload?: any;
queryParams?: QueryParams;
response?: any;
}

Structure

RequestGenericType
NameTypeDescription
endpoint
string
error
any
params
Record<string, string | number>
payload
any
queryParams
QueryParams
response
any
On this page