RequestGenericType
Import
import { RequestGenericType } from "@hyper-fetch/core"
Source
Package
Preview
type RequestGenericType<QueryParams> = {
endpoint?: string;
error?: any;
params?: Record<string, string | number>;
payload?: any;
queryParams?: QueryParams;
response?: any;
}
Structure
RequestGenericType
| Name | Type | Description |
|---|---|---|
| endpoint | | |
| error | | |
| params | | |
| payload | | |
| queryParams | | |
| response | |