diff --git a/packages/typescript-fetch-runtime/src/types.ts b/packages/typescript-fetch-runtime/src/types.ts index 88dfaf8f..883ddfcc 100644 --- a/packages/typescript-fetch-runtime/src/types.ts +++ b/packages/typescript-fetch-runtime/src/types.ts @@ -34,8 +34,11 @@ export interface AbstractFetchClientConfig { } // fetch HeadersInit type +export type HeaderValue = string | readonly string[] | undefined + export type HeadersInit = | string[][] | readonly (readonly [string, string])[] - | Record> + | Iterable + | Record | Headers