Open
Description
Hi,
I am using the output of toHeader
in the fetch API and I see the following error:
error TS2322: Type 'Header' is not assignable to type 'Record<string, string> | Headers | string[][] | undefined'.
Type 'Header' is not assignable to type 'Record<string, string>'.
Index signature is missing in type 'Header'.
136 headers: this.client.toHeader(body)
Any thoughts on how to fix it?
Metadata
Metadata
Assignees
Labels
No labels