Type alias BasicContext<T>
BasicContext<T>: { afters: Middleware<AfterContext<T>>[]; baseURL: string; befores: Middleware<BasicContext<T>>[]; body: Record<any, any> | BodyInit | null; dataType?: "arrayBuffer" | "blob" | "formData" | "json" | "text"; errors: Middleware<ErrorContext<T>>[]; finals: Middleware<FinalContext<T>>[]; headers: Record<any, any>; log: boolean; method: "get" | "post" | "put" | "patch" | "delete" | "options" | "head" | "connect" | "trace"; param: Record<any, any>; query: Record<any, any>; requester: typeof Requester; startTime: Date; url: string; } & Omit<T, IgnoreKeys> Type Parameters
T extends Record<any, any> = Record<any, any>
Type declaration
baseURL: string
body: Record<any, any> | BodyInit | null
Optional
dataType?: "arrayBuffer" | "blob" | "formData" | "json" | "text"
headers: Record<any, any>
log: boolean
method: "get" | "post" | "put" | "patch" | "delete" | "options" | "head" | "connect" | "trace"
param: Record<any, any>
query: Record<any, any>
startTime: Date
url: string