···11export { client, createClient } from '../';
22export type { Options } from '../types';
33+export { formDataBodySerializer, jsonBodySerializer } from '../utils';
+6-5
packages/client-fetch/src/types.ts
···7070 | 'PUT'
7171 | 'TRACE';
7272 /**
7373- * Return the response data parsed in a specified format. Any of the
7474- * {@link Body} methods are allowed. By default, {@link Body.json()} will be
7575- * used. Select `stream` if you don't want to parse response data.
7676- * @default 'json'
7373+ * Return the response data parsed in a specified format. By default, `auto`
7474+ * will infer the appropriate method from the `Content-Type` response header.
7575+ * You can override this behavior with any of the {@link Body} methods.
7676+ * Select `stream` if you don't want to parse response data at all.
7777+ * @default 'auto'
7778 */
7878- parseAs?: Exclude<keyof Body, 'body' | 'bodyUsed'> | 'stream';
7979+ parseAs?: Exclude<keyof Body, 'body' | 'bodyUsed'> | 'auto' | 'stream';
7980 /**
8081 * A function for serializing request query parameters. By default, arrays
8182 * will be exploded in form style, objects will be exploded in deepObject