UNPKG

@nahkies/typescript-axios-runtime

Version:

Runtime package for code generated by @nahkies/openapi-code-generator using the typescript-axios template

12 lines (11 loc) 506 B
export type Style = "deepObject" | "form" | "pipeDelimited" | "spaceDelimited"; export interface Encoding { explode?: boolean; style?: Style; } /** * Serializes a request body as `application/x-www-form-urlencoded` with the exact * semantics defined by the provided encodings, falling back to the default encoding * specified by the OAI specification. */ export declare function requestBodyToUrlSearchParams(obj: Record<string, unknown>, encodings?: Record<string, Encoding>): URLSearchParams;