Repository URL to install this package:
|
Version:
7.1.2 ▾
|
/**
* @todo @see https://developer.apple.com/documentation/swift/codable
*/
export function fromHeadersToSerialized(headers: Headers) {
const headersObj = {}
headers.forEach((value: string | any, key: string) => {
headersObj[key] = value
})
return headersObj
}