Skip to content

Type Alias: GetOptions<TPath, TResponseSchema, TParamsSchema, TSearchSchema> ​

GetOptions<TPath, TResponseSchema, TParamsSchema, TSearchSchema> = Omit<ValifetchOptions<TPath, TResponseSchema, undefined, TParamsSchema, TSearchSchema>, "json" | "bodySchema" | "form" | "body"> & object

Defined in: src/types/instance.ts:48

Options for GET-like methods (no body)

Type Parameters ​

TPath ​

TPath extends string = string

TResponseSchema ​

TResponseSchema extends GenericSchema | undefined = undefined

TParamsSchema ​

TParamsSchema extends GenericSchema | undefined = undefined

TSearchSchema ​

TSearchSchema extends GenericSchema | undefined = undefined

Type Declaration ​

responseType? ​

optional responseType?: ResponseType

Response format - defaults to 'json'

Released under the MIT License. Built with Claude Code.